diff --git a/modules/ui/improveOSM_comments.js b/modules/ui/improveOSM_comments.js index 707869b46..a7b75d7cd 100644 --- a/modules/ui/improveOSM_comments.js +++ b/modules/ui/improveOSM_comments.js @@ -77,7 +77,7 @@ export function uiImproveOsmComments() { if (!s) return null; var detected = utilDetect(); var options = { day: 'numeric', month: 'short', year: 'numeric' }; - var d = new Date(s); + var d = new Date(s * 1000); // timestamp is served in seconds, date takes ms if (isNaN(d.getTime())) return null; return d.toLocaleDateString(detected.locale, options); }