Date and Time Format Functions Not Parsing "Y" Year Mask

Description

When using the DateFormat() and DateTimeFormat() functions (and their LS counterparts), a Year mask with a capital "Y" is ignored and simply passed through. ACF's Update 3 now allows for case-insensitive masking in DateFormat(). The interpretation of "Y" (week year) vs "y" (calendar year) is a different discussion, but "Y" (and other upper-case letters) should still be a valid mask.

Lucee 4.5 >> http://trycf.com/gist/7788cd805e46899a682b81bcc14c9e4f/lucee?theme=monokai

Lucee 5 >> http://trycf.com/gist/5a06e0309a37057dcb1ed78b88be87db/lucee5?theme=monokai

Environment

None

Attachments

2

Activity

Show:
Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 7 October 2016 at 15:03
Updated 12 December 2016 at 15:42
Resolved 12 December 2016 at 15:42