feature request #6564open
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.
Updated by Andreas Kohlbecker almost 6 years ago
- Related to feature request #6561: TimePeriodParser support for ISO 8601 date formats added
Updated by Andreas Müller about 5 years 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.