Commit 5a79f27d authored by Mathieu Giraud's avatar Mathieu Giraud

js/export.js: better date formatting

See !519
parent d9494d8d
Pipeline #97005 passed with stages
in 6 minutes and 50 seconds
......@@ -346,7 +346,7 @@ Report.prototype = {
var left = $('<div/>', {'class': 'flex'}).appendTo(info);
var date = new Date();
var report_timestamp = date.getFullYear() + "-" + (date.getMonth()+1) + "-" + date.getDate()
var report_timestamp = date.toISOString().split('T')[0]
var analysis_timestamp = ""
if (typeof this.m.analysis.timestamp != "undefined")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment