1DateTime::Format::FlexiUbsleer::Cloanntgr:i:beust(e3d)PDeartleTDiomceu:m:eFnotramtaito:n:Flexible::lang::es(3)
2
3
4
6 DateTime::Format::Flexible::lang::es - spanish language plugin
7
9 You should not need to use this module directly.
10
11 If you only want to use one language, specify the lang property when
12 parsing a date.
13
14 example:
15
16 my $dt = DateTime::Format::Flexible->parse_datetime(
17 '29 de febrero de 1996' ,
18 lang => ['es']
19 );
20 # $dt is now 1996-02-29T00:00:00
21
22 Note that this is not required, by default ALL languages are scanned
23 when trying to parse a date.
24
25 new
26 Instantiate a new instance of this module.
27
28 months
29 month name regular expressions along with the month numbers
30 (enero|enro|eno => 1)
31
32 days
33 day name regular expressions along the the day numbers (lunes => 1)
34
35 day_numbers
36 maps day of month names to the corresponding numbers (primero => 01)
37
38 hours
39 maps hour names to numbers (ediodia => 12:00:00)
40
41 remove_strings
42 strings to remove from the date (de as in cinco de mayo)
43
44 parse_time
45 currently does nothing
46
47 string_dates
48 maps string names to real dates (ahora => DateTime->now)
49
50 relative
51 parse relative dates (ago => hace, from => a partir de ahora, next =>
52 siguiente, last => pasado)
53
54 math_strings
55 useful strings when doing datetime math
56
57 timezone_map
58 maps unofficial timezones to official timezones for this language (PDT
59 => America/Tijuana)
60
62 Tom Heady
63 CPAN ID: thinc
64 Punch, Inc.
65 cpan@punch.net
66 http://www.punch.net/
67
69 Copyright 2011 Tom Heady.
70
71 This program is free software; you can redistribute it and/or modify it
72 under the terms of either:
73
74 • the GNU General Public License as published by the Free
75 Software Foundation; either version 1, or (at your option) any
76 later version, or
77
78 • the Artistic License.
79
81 DateTime::Format::Flexible
82
83
84
85perl v5.34.0 2022-0D1a-t2e1Time::Format::Flexible::lang::es(3)