Changes for version 0.12 - 2016-06-30

  • Improve compliance with DateTime::Format API: allow calling parse_datetime() and parse_datetime_duration() as static method, and die on parse failure.
  • Bump minimum required perl 5.14 because it fails on 5.10 (out of memory) and 5.12 due to use of (?{ ... }) code blocks inside regex which is only safe on 5.14+ [CT].
  • EN: Support cardinal suffix e.g. 'June 23rd'
  • EN: p_dur_later: recognize 'in <dur>' e.g. 'in 2h'.
  • Add patterns: p_which_dow (e.g. "this monday", "last sat").
  • [Bugfix] Fix when to apply /o modifier so it does not clobber between subclasses (this bug manifested itself when we instantiate both DFA:EN and DFA:ID and tries to parse with both; the first subclass wins).
  • [doc] Mention and compare with DateTime::Format::Flexible.
  • [Internal] Rename _time_zone attribute to time_zone (but the old name is currently still supported).

Modules

Parse human date/time expression (base class)
Parse human date/time/duration expression (English)
Parse human date/time/duration expression (Indonesian)
Test DateTime::Format::Alami