Project

General

Profile

feature request #6564

full support for ISO 8601 date time format

Added by Andreas Kohlbecker almost 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
New
Category:
taxeditor
Target version:
Start date:
04/11/2017
Due date:
% Done:

0%

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 formats New 04/10/2017

Associated revisions

Revision 3afedf26 (diff)
Added by Andreas Kohlbecker over 1 year ago

ref #6564 TimePeriodFormatter with support for ISO8601 date format
- needs support for dd.mm.yyyy formats
- to be moved into cdmlib

Revision 5b81fd8a (diff)
Added by Andreas Kohlbecker over 1 year ago

ref #6564 TimePeriodFormatter bugfix: support for freetext added

History

#1 Updated by Andreas Kohlbecker almost 2 years ago

#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.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)