DateTime::Format::Flexible::lang::de(3pm)

DateTime::Format::Flexible::lang::de3pm

German language plugin

Overview

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.

new

Instantiate a new instance of this module.

months

month name regular expressions along with the month numbers (Jan(:?uar)? => 1)

days

day name regular expressions along the the day numbers (Montag => 1)

day_numbers

maps day of month names to the corresponding numbers (erster => 01)

hours

maps hour names to numbers (Mittag => 12:00:00)

remove_strings

strings to remove from the date (um as in um Mitternacht)

parse_time

currently does nothing

string_dates

maps string names to real dates (jetzt => DateTime->now)

relative

parse relative dates (ago => vor, from => a jetzt, next => nachste, last => letzten)

math_strings

useful strings when doing datetime math

timezone_map

maps unofficial timezones to official timezones for this language (MEZ => Europe/Berlin)

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8–9
  3. 10
  4. 11
  5. 12
  6. 13

Author

    Mark Trettin <[email protected]>
    Based on DateTime::Format::Flexible::lang::en by
    Tom Heady
    CPAN ID: thinc
    Punch, Inc.
    [email protected]
    http://www.punch.net/

From libdatetime-format-flexible-perl 0.37-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.