Lucee icon indicating copy to clipboard operation
Lucee copied to clipboard

Added a fix: dateTime member functions to work with dateTime formatted string for LDEV-3384

Open cfmitrah opened this issue 2 years ago • 0 comments

https://luceeserver.atlassian.net/browse/LDEV-3384

By this fix

  • dateTime member functions works with dateTime formatted strings ( ex:- "10/10/2022", "10 jan 2022" )
  • non date formatted strings( ex:- "lucee", "coldfusion" ) throw error like The function [diff] does not exist in the String.
  • Lucee has two compare() member functions ( String.compare(), DateTime.compare() ). string and dateTime formatted string invoke String.compare(). DateTime.compare() invokes DateTime.compare().

cfmitrah avatar May 26 '22 10:05 cfmitrah