Path to this page:
Subject: CVS commit: pkgsrc/time/p5-DateTime-Format-Flexible
From: Wen Heping
Date: 2017-04-09 09:14:17
Message id: 20170409071417.B0BF8FBE4@cvs.NetBSD.org
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
Files: