|
NAMEDateTime::Format::Flexible::lang::es - spanish language pluginDESCRIPTIONYou 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. newInstantiate a new instance of this module.monthsmonth name regular expressions along with the month numbers (enero|enro|eno => 1)daysday name regular expressions along the the day numbers (lunes => 1)day_numbersmaps day of month names to the corresponding numbers (primero => 01)hoursmaps hour names to numbers (ediodia => 12:00:00)remove_stringsstrings to remove from the date (de as in cinco de mayo)parse_timecurrently does nothingstring_datesmaps string names to real dates (ahora => DateTime->now)relativeparse relative dates (ago => hace, from => a partir de ahora, next => siguiente, last => pasado)math_stringsuseful strings when doing datetime mathtimezone_mapmaps unofficial timezones to official timezones for this language (PDT => America/Tijuana)AUTHORTom Heady CPAN ID: thinc Punch, Inc. cpan@punch.net http://www.punch.net/ COPYRIGHT & LICENSECopyright 2011 Tom Heady.This program is free software; you can redistribute it and/or modify it under the terms of either:
SEE ALSODateTime::Format::Flexible
Visit the GSP FreeBSD Man Page Interface. |