ParseDateTime, add predefined mask shortcut for javascript style ISO date strings

Description

Lucee has built in support for iso8601 style dates, i.e. yyyy-MM-dd'T'HH:mm:ssZ

https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/functions/displayFormatting/DateTimeFormat.java#L94

these differ from slightly for the format used in javascript, which is "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

1 2 new Date().toISOString() "2019-01-07T15:10:54.548Z"

as most Lucee developers are working with javascript, this would be rather useful

there is some discussion about this here
https://murrayhopkins.wordpress.com/2018/10/08/coldfusion-10-iso-8601-dates-and-bugs/

Status

Assignee

Igal Sapir

Reporter

Zac Spitzer

Labels

None

Priority

New
Configure