feature request #6564
full support for ISO 8601 date time format
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.
ref #6564 TimePeriodFormatter with support for ISO8601 date format
- needs support for dd.mm.yyyy formats
- to be moved into cdmlib
#2 Updated by Andreas Müller about 1 year ago
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.