The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.86_02 - 2010-05-27

  • Emit an error for 0 AM/PM suggesting to use 12 as zero.
  • Add tests for this extended check failure.
  • Adjust related prefer_future tests to make them pass.
  • When verifying that extended checks fail, call _get_error() to see whether it returns an error as expected.
  • Reset in _unset_error() with undef instead of empty string.

Changes for version 0.86_01 - 2010-05-18

  • Introduce and use two flag handlers for AM/PM time values.
  • Assert that these values pass the extended meridiem check.
  • Split implicit matching of time only from grammar entries with an optional AM suffix.
  • Add tests for 12 AM/PM and the splitted grammar entries (including prefer_future ones).
  • Test that invalid meridiem time values fail.
  • Remove addition of 12 hours for PM time values in _at_time() and _time_full().
  • Dispatch to _at() for AM/PM time, to _time() for time only.
  • Comment the purpose of the wrappers _at() and _time().

Documentation

frontend to DateTime::Format::Natural

Modules

Create machine readable date/time with natural parsing logic
Aliasing of date strings
Base class for DateTime::Format::Natural
Methods with more than one implementation
Duration hooks and state handling
Processing of formatted dates
Various helper methods
Base class for DateTime::Format::Natural::Lang::
English language metadata
Common test routines/data
Handy utility methods
Wrappers for DateTime operations