/p5-DateTime-Format-Flexible, Flexibly parse strings and turn them into DateTime objects
0.28, Package name:
p5-DateTime-Format-Flexible-0.28, 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:
] Required to build:
Master sites: (Expand) SHA1:
Version history: (Expand)
- (2017-04-09) Updated to version: p5-DateTime-Format-Flexible-0.28
- (2016-06-09) Updated to version: p5-DateTime-Format-Flexible-0.26nb2
- (2015-06-12) Updated to version: p5-DateTime-Format-Flexible-0.26nb1
- (2014-12-04) Updated to version: p5-DateTime-Format-Flexible-0.26
- (2014-05-30) Updated to version: p5-DateTime-Format-Flexible-0.25nb1
- (2013-08-30) Updated to version: p5-DateTime-Format-Flexible-0.25
CVS history: (Expand)
| 2017-04-09 09:14:17 by Wen Heping | Files touched by this commit (2) | |
Update to 0.28
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) | |
Bump PKGREVISION for perl-5.24.
| 2015-11-03 00:31:47 by Alistair G. Crooks | Files touched by this commit (161) |
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) |
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
| 2014-12-04 02:20:33 by Makoto Fujiwara | Files touched by this commit (2) |
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) |
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) | |
Update to 0.25
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
| 2013-05-31 14:42:58 by Thomas Klausner | Files touched by this commit (2880) |
Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.