Revision history for DateTime-Format-Alami
0.11 2016-06-29 (PERLANCAR)
- Support parsing duration.
- Allow comma in duration expression, e.g. "2 hours, 3 minutes" in
addition to "2 hours 3 minutes".
0.10 2016-06-28 (PERLANCAR)
- Add patterns: p_time, p_date_time.
- [Internal] Generate recursive regex to be able to use another p_*
pattern inside p_* pattern. For example, see p_date_time.
- [Bugfix] Ordering of p_* patterns in the final pattern should use
topological sorting.
0.09 2016-05-05 (PERLANCAR)
- No functional changes.
- [dist] Bump prereq Parse::Number::ID to 0.06 [RT#114165].
0.08 2016-05-04 (PERLANCAR)
- [Bugfix] Fix ordering of set_month() and set_day(), e.g. when day
is 30 we cannot set month to February [RT#114108].
- [Test] Enable testing of H:M:D being truncated to 0 when unnecessary.
0.07 2016-04-13 (PERLANCAR)
- Add options: time_zone, format, returns (like in Date::Extract). Now
this module can return DateTime object as well as verbatim/original
text or epoch, and can return additional information (like position of
match, name of pattern that matches, etc).
- [Bugfix] Properly truncate DateTime to day (i.e. truncate
hour/minute/second to 0) when time of day is not needed.
- Recognize 2-digit year.
- Add more sanity checks.
- [doc] Mention more related modules.
0.06 2016-04-06 (PERLANCAR)
- Use /x and /i for the whole regex, fixes/updates (a_tomorrow()
was missing), add test suite.
0.05 2014-10-03 (PERLANCAR)
- No functional changes.
- Some POD rewording.
0.04 2014-10-03 (PERLANCAR)
- Use /o modifier for faster speed.
- Rebuild using updated modules to create more compact $RE & $MAPS.
0.03 2014-10-03 (PERLANCAR)
- No functional changes.
- [build] Forgot to precompute $MAPS.
0.02 2014-10-03 (PERLANCAR)
- Add FAQ item about the name.
- Add pattern: date_wo_year (date without year), e.g. May 28, 5/28.
0.01 2014-10-02 (PERLANCAR)
- First release.