Project

General

Profile

Actions

feature request #6564

open

full support for ISO 8601 date time format

Added by Andreas Kohlbecker almost 6 years ago. Updated about 5 years ago.

Status:
New
Priority:
New
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal

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.


Related issues

Related to EDIT - feature request #6561: TimePeriodParser support for ISO 8601 date formatsNewAndreas Müller

Actions
Actions #1

Updated by Andreas Kohlbecker almost 6 years ago

Actions #2

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.

Actions

Also available in: Atom PDF