-
-
Notifications
You must be signed in to change notification settings - Fork 231
Open
Description
If I use a formatter like this "yyyy-MM-dd HH:mm:ss.SSS" the milliseconds section (SSS) is not properly formatted.
Example:
var outputDatestring = "2015-03-25T13:43:00.123+0000";
var date = new Date(outputDatestring);
console.log($.format.date(date, "yyyy-MM-dd HH:mm:ss.SSS"));
This code logs the following result (my browser is in GTM+01:00, so the hour is correct, but not the milliseconds section):
2015-03-25 14:43:00. Eu
Expected result:
2015-03-25 14:43:00.123
Metadata
Metadata
Assignees
Labels
No labels