Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 3212

System.DateUtils.ISO8601ToDate bug

$
0
0

Hi, I am in Delphi 10 trying to use System.DateUtils.ISO8601ToDate function. According to http://docwiki.embarcadero.com/Libraries/XE8/en/System.DateUtils.ISO8601ToDate page it seems to support ISO8601 date format, described on page https://en.wikipedia.org/wiki/ISO_8601  But if input string is '2015-11-09T13:51:59.467+0200', then i got error message "Invalid time Offset string: 13:51:59.467+0200". If i add special converter to input stream from my external ISO8601 source and convert input string to '2015-11-09T13:51:59.467+02:00', then all is ok and no error messages. On page https://en.wikipedia.org/wiki/ISO_8601 in section "Time zone designators" there are possible timezone format also: ±hhmm Please fix System.DateUtils.ISO8601ToDate function.  

Thank You, Ain Kalda  


Viewing all articles
Browse latest Browse all 3212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>