Commit graph

5 commits

Author SHA1 Message Date
sno
1edbb7590e Updating time/p5-DateTime-Format-Natural from 0.78 to 0.79
pkgsrc changes:
  - reorder dependencies

Upstream changes:
0.79 Sat Sep 19 12:23:20 CEST 2009
 - Merged development version to stable.

0.78_03 Thu Sep 17 12:13:08 CEST 2009
 - Relocate the formatted string printing of result strings
   used within the tests to the Test class.

0.78_02 Mon Sep 14 17:18:40 CEST 2009
 - Add support for ranges representing the first and last day
   of a month or year. [rt #44067 - Michael Reddick]
 - Move the insertion code in parse_datetime_duration() to the
   Duration class and the checks to the english metadata class.
 - Quote for parsing failures with duration strings the entire
   input string instead of a partial date string.
 - Save and restore state for parse_datetime_duration().
 - Test compile-time loading of Duration.pm.

0.78_01 Tue Sep  1 15:51:59 CEST 2009
 - Set units at once within _check_date() when Date::Calc is
   not available and add a test. [rt #49326 - Clayton L. Scott]
2009-09-19 22:51:37 +00:00
sno
40fb592699 Updating package for p5 module DateTime::Format::Natural from 0.77 to 0.78
pkgsrc changes:
  - Fixing dependency from time/p5-Date-Calc to devel/p5-Date-Calc

Upstream changes:
0.78 Fri Aug  7 11:32:31 CEST 2009
 - Merged development version to stable.

0.77_01 Thu Jun 25 16:00:27 CEST 2009
 - Add a handful of new formats. [rt #43468 - Clayton L. Scott]
 - Don't eventually try to guess the century.
 - Introduce and use a class for common test routines.
 - Test compile-time loading of Test.pm.
 - Rename the misnamed 'hour' metadata option to 'hours'.
 - _daytime() does not use the 'hours' metadata option when
   it is set and hence remove such existing entries.
 - For base methods which use the 'hours' metadata option,
   assume a zero when no value is provided.
2009-08-09 07:31:59 +00:00
sno
cd37b322b4 pkgsrc changes:
- Updating package of p5 module DateTime::Format::Natural from 0.76 to
    0.77
  - Adjusting license according to META.yaml

Upstream changes:
0.77 Sun Jun 14 20:46:53 CEST 2009
 - Merged development version to stable.

0.76_04 Sat Jun 13 14:04:21 CEST 2009
 - Remove comment in code about the legacy debug option.
 - Use '\s+' instead of the ambiguous ' ' as token split pattern.
 - Add some whitespace to the regexp which recognizes additional
   tokens for formatted dates.

0.76_03 Wed Jun 10 11:50:42 CEST 2009
 - The current "now" can be overridden through the 'datetime'
   option. [rt #45127 - Giovanni Pensa]
 - parse_datetime_duration() handles durations where the second
   part is relative to the first one. [rt #45127 - Giovanni Pensa]
 - New supported relative duration: for <count> <unit>.
   [rt #45127 - Giovanni Pensa]

0.76_02 Sat Jun  6 13:24:58 CEST 2009
 - When using prefer_future, also allow for weekdays combined with
   the time of day to be parsed correctly. [rt #46689 - Jason May]
 - New supported format: <weekday> <time>. [rt #46689 - Jason May]

0.76_01 Mon Jun  1 21:34:06 CEST 2009
 - Change in default behavior: Use DateTime's truncate method
   to reset time components. Inspired by [rt #43468 - Clayton
   L. Scott] and suggestions from others.
2009-06-15 23:23:43 +00:00
sno
5cbf1a8d1a PkgSrc changes:
- Updating package for p5 module DateTime::Format::Natural from 0.74 to 0.76
  - Setting license to gnu-gpl-v2
  - Adjusting dependencies

Upstream changes:
0.76 Thu Apr  9 12:08:32 CEST 2009
 - Merged development version to stable.

0.75_05 Mon Apr  6 12:42:26 CEST 2009
 - New supported format: final <weekday> in <month>.
   [rt #44810 - Christian Brink]
 - Wrap Days_in_Month() in Compat.pm.

0.75_04 Fri Apr  3 15:13:36 CEST 2009
 - New supported formats: some suggested by [rt #44067 - Michael
   Reddick], while others have been independently added.
 - Fix a regression [rt #44691 - Jason May].
 - Shift common conversion logic within base calculation methods
   to the grammar class.
 - Introduce a helper class for handling actions related to
   metadata flags and to serve as container for setter/checker
   methods.
 - Wrap Decode_Month() in Compat.pm.
 - Test both implementations within each method in Compat.pm.
 - Preserve order of tests.
 - Add a test-file for regressions.
 - Remove the obsoleted internal use of a total-modified counter.

0.75_03 Wed Mar  4 13:39:08 CET 2009
 - Enhance the extended checks mechanism further to have it set
   an error message when a check fails.
 - Run tests without sorting the input strings first.
 - Test compile-time loading of Compat.pm.

0.75_02 Thu Feb 26 11:01:11 CET 2009
 - Date::Calc is no longer a prerequisite; use it when available
   for calculations, otherwise fall back to using DateTime.
   [rt #43521 - Jesse Vincent <jesse@bestpractical.com>]

0.75_01 Sun Feb 22 12:09:32 CET 2009
 - When prefer_future is set: Advance the day if the time
   specified is noticeable in the past. [rt #43417 - Jason May]
 - New supported format: <month> <monthday> <year>.
   [rt #43467 - Clayton L. Scott <clscott@cpan.org>]

0.75 Thu Feb 19 16:50:19 CET 2009
 - Merged development version to stable.

0.74_04 Son Feb 15 20:59:28 CET 2009
 - Refrain from adding leading zeros to unit values via
   sprintf() when constructing the final DateTime object.
 - Do not import Date_to_Days(), it's no longer required.

0.74_03 Fri Feb 13 13:15:11 CET 2009
 - Guard against invalid expressions with a 's' suffix,
   but no multiple unit count.
 - Work around the segmentation fault taking place in 0.74_02
   on perl 5.8.9 and 5.10.0.

0.74_02 Sun Feb  8 11:47:50 CET 2009
 - New supported format: <count> <weekday>(s) from now.
   [rt #43088 - Anirvan Chatterjee]
 - Add a new field to the language grammar entries to handle
   extended checks of captured regex data.

0.74_01 Thu Jan  8 16:06:17 CET 2009
 - When a four digit year is found, also allow for mm/dd/yyyy
   kind of formats. [Elliot Shank <perl@galumph.com>]
2009-05-02 21:26:36 +00:00
abs
1ab51dd112 Added time/p5-DateTime-Format-Natural version 0.74
DateTime::Format::Natural takes a string with a human readable
date/time and creates a machine readable one by applying natural
parsing logic.
2009-02-13 23:48:50 +00:00