./time/p5-DateTime-Format-Flexible, Flexibly parse strings and turn them into DateTime objects

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.28nb1, Package name: p5-DateTime-Format-Flexible-0.28nb1, Maintainer: pkgsrc-users

If you have ever had to use a program that made you type in the
date a certain way and thought "Why can't the computer just figure
out what date I wanted?", this module is for you.

DateTime::Format::Flexible attempts to take any string you give it
and parse it into a DateTime object.

The test file tests 2500+ variations of date/time strings. If you
can think of any that I do not cover, please let me know.

Required to run:
[time/p5-DateTime] [time/p5-DateTime-TimeZone] [devel/p5-List-MoreUtils]

Required to build:

Master sites: (Expand)

SHA1: e35a9e3cc14dd10ab9882218a88990e3496c7337
RMD160: 557e6b37fd1ed6364457a6aae2b0f9e2d8d74619
Filesize: 71.994 KB

Version history: (Expand)

CVS history: (Expand)

   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2017-04-09 09:14:17 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.28

Upstream changes:
0.28 Thu Mar 23 2016
  - fix tests under perl 5.25.10+ with -Ddefault_inc_excludes_dot
    - thanks Kent Fredric rt #120698

0.27 Mon Mar 06 2017
  - support a single lang as a string instead of requiring an arrayref (DWIM)
    - example: lang => 'en'
  - add support for:
    - "next (weekday)" eg: next sunday
    - "last (weekday)" eg: last sunday
    - "next (month)" eg: next january
    - "last (month)" eg: last january
    - "(x unit) from now" eg: 3 years from now
    - "(-x unit)" eg: -3 months
    - "(+x unit)" eg: +3 months
    - "YYMMDD HH:MM:SS" eg: 950404 00:22:12
    - "YYMMDD HH:MM:SS.NS" eg: 950404 00:22:12.500
    - "Mon D HH:MM:SS.NS TZ YYYY" eg: Fri Dec  2 22:56:03.500 GMT+0 1994
      - thanks David White rt #105178, tests from Time::ParseDate
  - when we have a leading month that is 0 (zero) and we have a year, assume it \ 
is supposed to be october (10)
    - thanks Dave Musakhanyan
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-11-03 00:31:47 by Alistair G. Crooks | Files touched by this commit (161)
Log message:
Add SHA512 digests for distfiles for time category

Problems found with mismatching existing digests for:

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2014-12-04 02:20:33 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
Udate 0.25 to 0.26
0.26 Tue Apr 22 2014
  - support "MM/DD/YYYY HH:MM" (missing seconds),
  - support "EEE MMM dd HH:mm:ss z yyyy" (UTC timezone inside string)
    - thanks David White rt #94911
   2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049)
Log message:
Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
   2013-08-30 10:16:48 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.25

Upstream changes:
0.25 Mon Mar 04 2013
   - support "HH:MM::SS timezone YYYY/MM/DD"
     - thanks Kevin Zwack

0.24 Mon Nov 26 2012
   - fix removal of 'am' in the german language file when we already know what \ 
part is the time part
   - fix removal of 'st' when not preceded by a digit
     - thanks Andreas Koenig rt #81432
   - support "YYYYMMDD timezone"

0.23 Thu Jun 14 2012
   - Fix for MM/YYYY (was always setting the base year)
     - thanks John Marling
   - Support MM/YY if MMYY is given as an option
   - pod cleanup

0.22 Mon Jun 11 2012
   - update GPL in the LICENSE file (apparently the FSF has a new address)
     - thanks ppisar rt #74363
   - update POD to match the license file
     - thanks ppisar rt #74358
   - fix typo for saturday in the german language file
     - thanks TMUELLER rt #77721
   - don't check the language extensions if we don't have any non-digits in the \ 
string we are checking (excluding delimiters: \/-.:[space])
   - fix typos in the pod documentation, add a link to the german translations
   - add support and more tests for some time-first formats
   - add support for GMT timezone anywhere in the date/time string

0.21 Sun Jan 01 2012
   - handle mm/yyyy and m/yyyy

0.20 Sun Sep 18 2011
   - case insensitive handling of st|nd|rd|th (3rd and 3RD now work)
     - thanks Brett Carson

0.19 Fri Jan 07 2011
   - support for German (de)
     - thanks Mark Trettin
   - better support for DD MM
   - support for natural dates in all languages (3 years ago)

0.18 Sat Jan 01 2011
   - move a test that was hardcoded to a year to the no_year tests.
     - thanks cpantesters

0.17 Tue Oct 26 2010
   - more formats supported
   - support timezone offsets that are not at the end of the datetime string.
     - they must be 4 digits and begin with a plus or minus
     - thanks snarkyboojum: \ 
http://use.perl.org/use.perl.org/_snark … 40297.html
   - better support for dates like 'December 1st'
   - POD formatting fixes
   - support 'Oct.26, 2010'.
     - thanks Brian Knapp