Thread Date::Parse - deutsches Datum einlesen/prüfen (4 answers)
Opened by GwenDragon at 2012-01-12 15:20

Linuxer
 2012-01-12 16:08
#155415 #155415
User since
2006-01-27
3890 Artikel
HausmeisterIn

user image
Scheint ein Known-Bug zu sein:

Quote
BUGS

When both the month and the date are specified in the date as numbers they are always parsed assuming that the month number comes before the date. This is the usual format used in American dates.

The reason why it is like this and not dynamic is that it must be deterministic. Several people have suggested using the current locale, but this will not work as the date being parsed may not be in the format of the current locale.

My plans to address this, which will be in a future release, is to allow the programmer to state what order they want these values parsed in.
meine Beiträge: I.d.R. alle Angaben ohne Gewähr und auf Linux abgestimmt!
Die Sprache heisst Perl, nicht PERL. - Bitte Crossposts als solche kenntlich machen!

View full thread Date::Parse - deutsches Datum einlesen/prüfen