parseDateTime with format argument subtracts one year

Description

This produces a date/time object of December 31st, 2018.

1 parseDateTime( '2018-12-31 10:00' );

This produces a date/time object of December 31, 201*7*

1 parseDateTime( '2018-12-31 10:00', 'yyyy-MM-dd HH:mm' );

There is no ACF comparison as ACF does not take a second argument for parseDateTime. Also, the cfdocs for this function do not match the Lucee docs (they reflect the ACF implementation).

Environment

None

Status

Assignee

Michael Offner

Reporter

Samuel W. Knowlton

Labels

None

Sprint

None

Fix versions

Affects versions

5.3.2.38

Priority

Critical