feature request #6564
open
full support for ISO 8601 date time format
Added by Andreas Kohlbecker about 7 years ago.
Updated over 6 years ago.
Description
The taxeditor only supports the dd.mm.yyyy date formats. For better acceptance in the international community it is crucial that the editor and the library fully support the ISO 8601 date and time formats.
The TimePeriodParser supports a couple of more formats than the one mentioned above. Please refer to the tests and to the code to find further formats.
However, a general issue with time period parsing is ambiguity as described e.g. in #6561#note-6 . There are a couple of such issues, e.g. American Dates etc.
So one possibility to solve this issue is to write more specific methods either in the general TimePeriodParser class or in a separate class and define in the CdmPreferences or elsewhere which method to use. One could also use a method with a given format parameter to use which is the standard for most date and date-time parsers.
Also available in: Atom
PDF