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

DateTime::Format::Flexible::lang::es3pm

Spanish 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(
     '29 de febrero de 1996' ,
     lang => ['es']
 );
 # $dt is now 1996-02-29T00: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 (enero|enro|eno => 1)

days

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

day_numbers

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

hours

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

remove_strings

strings to remove from the date (de as in cinco de mayo)

parse_time

currently does nothing

string_dates

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

relative

parse relative dates (ago => hace, from => a partir de ahora, next => siguiente, last => pasado)

math_strings

useful strings when doing datetime math

timezone_map

maps unofficial timezones to official timezones for this language (PDT => America/Tijuana)

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 6 times.

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

Author

    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.