GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DateTime::Format::Flexible::lang::es(3) User Contributed Perl Documentation DateTime::Format::Flexible::lang::es(3)

DateTime::Format::Flexible::lang::es - spanish language plugin

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.

Instantiate a new instance of this module.

month name regular expressions along with the month numbers (enero|enro|eno => 1)

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

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

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

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

currently does nothing

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

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

useful strings when doing datetime math

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

    Tom Heady
    CPAN ID: thinc
    Punch, Inc.
    cpan@punch.net
    http://www.punch.net/

Copyright 2011 Tom Heady.

This program is free software; you can redistribute it and/or modify it under the terms of either:

  • the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
  • the Artistic License.

DateTime::Format::Flexible
2021-05-26 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.