DateTime::Format::Flexible::lang::de(3pm) | User Contributed Perl Documentation | DateTime::Format::Flexible::lang::de(3pm) |
DateTime::Format::Flexible::lang::de - german language plugin
You should not need to use this module directly.
If you only want to use one language, specify the lang property when parsing a date.
example:
my $dt = DateTime::Format::Flexible->parse_datetime( 'Montag, 6. Dez 2010' , lang => ['de'] ); # $dt is now 2010-12-06T00:00:00
Note that this is not required, by default ALL languages are scanned when trying to parse a date.
Instantiate a new instance of this module.
month name regular expressions along with the month numbers (Jan(:?uar)? => 1)
day name regular expressions along the the day numbers (Montag => 1)
maps day of month names to the corresponding numbers (erster => 01)
maps hour names to numbers (Mittag => 12:00:00)
strings to remove from the date (um as in um Mitternacht)
currently does nothing
maps string names to real dates (jetzt => DateTime->now)
parse relative dates (ago => vor, from => a jetzt, next => nachste, last => letzten)
useful strings when doing datetime math
maps unofficial timezones to official timezones for this language (MEZ => Europe/Berlin)
Mark Trettin <nulldevice.mark@gmx.de> Based on DateTime::Format::Flexible::lang::en by Tom Heady CPAN ID: thinc Punch, Inc. cpan@punch.net http://www.punch.net/
Copyright 2011 Mark Trettin.
This program is free software; you can redistribute it and/or modify it under the terms of either:
DateTime::Format::Flexible
2021-08-22 | perl v5.32.1 |