.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "DateTime::Format::Flexible::lang::es 3pm" .TH DateTime::Format::Flexible::lang::es 3pm "2019-11-03" "perl v5.30.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" DateTime::Format::Flexible::lang::es \- spanish language plugin .SH "DESCRIPTION" .IX Header "DESCRIPTION" You should not need to use this module directly. .PP If you only want to use one language, specify the lang property when parsing a date. .PP example: .PP .Vb 5 \& my $dt = DateTime::Format::Flexible\->parse_datetime( \& \*(Aq29 de febrero de 1996\*(Aq , \& lang => [\*(Aqes\*(Aq] \& ); \& # $dt is now 1996\-02\-29T00:00:00 .Ve .PP Note that this is not required, by default \s-1ALL\s0 languages are scanned when trying to parse a date. .SS "new" .IX Subsection "new" Instantiate a new instance of this module. .SS "months" .IX Subsection "months" month name regular expressions along with the month numbers (enero|enro|eno => 1) .SS "days" .IX Subsection "days" day name regular expressions along the the day numbers (lunes => 1) .SS "day_numbers" .IX Subsection "day_numbers" maps day of month names to the corresponding numbers (primero => 01) .SS "hours" .IX Subsection "hours" maps hour names to numbers (ediodia => 12:00:00) .SS "remove_strings" .IX Subsection "remove_strings" strings to remove from the date (de as in cinco de mayo) .SS "parse_time" .IX Subsection "parse_time" currently does nothing .SS "string_dates" .IX Subsection "string_dates" maps string names to real dates (ahora => DateTime\->now) .SS "relative" .IX Subsection "relative" parse relative dates (ago => hace, from => a partir de ahora, next => siguiente, last => pasado) .SS "math_strings" .IX Subsection "math_strings" useful strings when doing datetime math .SS "timezone_map" .IX Subsection "timezone_map" maps unofficial timezones to official timezones for this language (\s-1PDT\s0 => America/Tijuana) .SH "AUTHOR" .IX Header "AUTHOR" .Vb 5 \& Tom Heady \& CPAN ID: thinc \& Punch, Inc. \& cpan@punch.net \& http://www.punch.net/ .Ve .SH "COPYRIGHT & LICENSE" .IX Header "COPYRIGHT & LICENSE" Copyright 2011 Tom Heady. .PP This program is free software; you can redistribute it and/or modify it under the terms of either: .IP "\(bu" 4 the \s-1GNU\s0 General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or .IP "\(bu" 4 the Artistic License. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIDateTime::Format::Flexible\fR