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

Changes for version 0.94_04 - 2011-05-11

  • New supported format: <monthday> <month> <year> <time am/pm>.
  • Conditionally rewrite date strings, currently ones with an 'at' followed by a time or daytime (e.g., noon).
  • Place the rewrite data in the grammar class; add an accessor.
  • Adapt the grammar by merging or removing now superfluous entries.
  • Mention rewriting by use of a comment in the grammar class.
  • Rewrite all patterns and refine handling punctuation marks when extracting parsable expressions; add tests.
  • Make generation of time entries for tests capable of processing the {at} placeholder and use it within the test strings.
  • Test parsing of date strings with rewritten time precision.

Changes for version 0.94_03 - 2011-05-03

  • Rename the aliases class to the more generic name rewrite.
  • Parse times with AM/PM at word boundary separated by a space (through removing the space before parsing).
  • Purge now unused grammar entries and consolidate tests.

Changes for version 0.94_02 - 2011-04-14

  • Parse and document formatted dates with an abbreviated month name in the middle; add a regular and a case related success test.
  • Extend the format regex accordingly and fix partly broken checking for a formatted date boundary.
  • Add assert tests for the fixed formatted date boundary check and new month name validation.

Changes for version 0.94_01 - 2011-04-07

  • Rewrite aliases when extracting parsable expressions; amend an extract test. [Colm Dougan]
  • Add, test and document another weekday alias for thursday.
    • Colm Dougan
  • Remove commas from date string now before rewriting aliases.
  • Test that commas are filtered for aliases.

Documentation

frontend to DateTime::Format::Natural

Modules

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

Provides

in lib/DateTime/Format/Natural/Duration/Checks.pm