-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
because I am currently using log4j, which utilizes your work for date formatting.
Due to our syslog server requirements, I need to format the local date string truly according to the ISO 8601 standard (similar to Date.prototype.toISOString).
new Date("2024-08-08 16:11:15").toISOString(); // '2024-08-08T08:11:15.000Z'
require("date-format").asString( require("date-format").ISO8601_FORMAT, new Date('2024-08-08 16:11:15')); // '2024-08-08T16:11:15.000'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels