Skip to content
Snippets Groups Projects
Commit 61ee488e authored by Carlos Vega's avatar Carlos Vega
Browse files

fix issue with timestamp, day was not properly shown

parent 8c3e56d6
No related branches found
No related tags found
1 merge request!259Encoding issue
......@@ -175,7 +175,7 @@
// PROVENANCE
// LOCALIZE TIMESTAMPS
$('.moment-ts').toArray().forEach((time, idx) => {
var date = moment.unix(time.innerText).format('MMMM d, YYYY, h:mm a').replace(/(a|p)(m)/,'$1.$2.');
var date = moment.unix(time.innerText).format('MMMM D, YYYY, h:mm a').replace(/(a|p)(m)/,'$1.$2.');
$(time).text(date);
});
// SET UP TABLE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment