|
This almost looks like a Java bug I saw years ago. I think you can track it down to the validation applied here during native date creation: <cfset cfdate = createDateTime(2017,3,12,2,22,23) /> "Invalid argument. Check the values provided are in the correct range. (java.lang.IllegalArgumentException: HOUR_OF_DAY: 2 -> 3)" I think that validation might be behind subsequent messages like: <cfset newDate = dateAdd("h",0,cfDate) /> "Data not supported: Invalid date/time string: 2017-03-12 02:22:23" Al Add'l Resources http://stackoverflow.com/questions/22363418/java-simpledateformat-parse-error-due-to-dst https://www.bennadel.com/blog/811-converting-iso-date-time-to-coldfusion-date-time.htm http://www-01.ibm.com/support/docview.wss?uid=swg21250503 https://en.wikipedia.org/wiki/ISO_8601 https://libraries.io/github/AlumnIQ/momentcfc On 3/13/2017 12:25 PM, Ernest McCloskey
wrote:
I would agree. But this is a time given to me via Amazon SQS service. So when I decode it to local time should openBD not realize that this time is part of dst and correct for it? -- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. |
- [OpenBD] Use of Debugger Frank Werner
- [OpenBD] Re: Use of Debugger John Moss
- [OpenBD] Re: Use of Debugger Frank Werner
- [OpenBD] Re: Use of Debugger Aaron J. White
- [OpenBD] Re: Use of Debugger Aaron J. White
- [OpenBD] Re: Use of Debugge... Magnus
- [OpenBD] Re: Use of Deb... Aaron J. White
- [OpenBD] A "y2k" type of ... Ernest McCloskey
- Re: [OpenBD] A "y2k" ... 'Alan Holden' via Open BlueDragon
- Re: [OpenBD] A "y2k&qu... Ernest McCloskey
- Re: [OpenBD] A "y2... 'Alan Holden' via Open BlueDragon
