diff --git a/umap/static/umap/js/umap.layer.js b/umap/static/umap/js/umap.layer.js index 79994308..0e3753a8 100644 --- a/umap/static/umap/js/umap.layer.js +++ b/umap/static/umap/js/umap.layer.js @@ -842,7 +842,7 @@ L.U.DataLayer = L.Class.extend({ var appendVersion = function (data) { var date = new Date(parseInt(data.at, 10)); - var content = date.toLocaleFormat() + ' (' + parseInt(data.size) / 1000 + 'Kb)'; + var content = date.toLocaleDateString(L.locale) + ' (' + parseInt(data.size) / 1000 + 'Kb)'; var el = L.DomUtil.create('div', 'umap-datalayer-version', versionsContainer); var a = L.DomUtil.create('a', '', el); L.DomUtil.add('span', '', el, content);