The NetBSD Project

CVS log for pkgsrc/time/p5-DateTime-Format-Natural/distinfo

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / time / p5-DateTime-Format-Natural

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Feb 3 01:45:58 2025 UTC (2 months, 2 weeks ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, HEAD
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
Update to 1.19

Upstream changes:
1.19  2025-01-05  <schubiger@cpan.org>
 - Merged development version to stable.
1.18_01  2025-01-04  <schubiger@cpan.org>
 - Use List::Util instead of List::MoreUtils.
   [github #22 - Graham Ollis]

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Dec 3 01:16:35 2023 UTC (16 months, 2 weeks ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4 lines
Update to 1.18

Upstream changes:
1.18  2023-10-05  <schubiger@cpan.org>

 - Merged development version to stable.

1.17_02  2023-10-03  <schubiger@cpan.org>

 - Validate 'daytime' parameter.

1.17_01  2023-10-01  <schubiger@cpan.org>

 - Minor wording tweak.

 - Minor indentation tweak.

1.17  2023-06-20  <schubiger@cpan.org>

 - Merged development version to stable.

 - Minor tweak.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Apr 11 11:47:30 2023 UTC (2 years ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
Update to 1.16
Update DEPENDS

Upstream changes:
1.16  2023-02-04  <schubiger@cpan.org>

 - Merged development version to stable.

1.15_03  2023-02-03  <schubiger@cpan.org>

 - Drop generating compat Makefile.PL.

1.15_02  2023-02-02  <schubiger@cpan.org>

 - Remove implicit m/d format; adjust tests.
   [github #11]

1.15_01  2023-01-27  <schubiger@cpan.org>

 - Move further testing modules to test_requires.
   [inspired by github #10 - Karen Etheridge]

1.15  2023-01-12  <schubiger@cpan.org>

 - Merged development version to stable.

1.14_03  2023-01-10  <schubiger@cpan.org>

 - Minor whitespace tweak.

1.14_02  2023-01-09  <schubiger@cpan.org>

 - Move testing modules to test_requires.
   [github #20 - Olaf Alders]

 - List Jim Avera in credits.

1.14_01  2023-01-08  <schubiger@cpan.org>

 - Fix extract_datetime fails with newly-created parser.
   [rt #144219 - Jim Avera]

1.14  2022-12-30  <schubiger@cpan.org>

 - Merged development version to stable.

1.13_02  2022-12-29  <schubiger@cpan.org>

 - Distinguish between truncated/unaltered when testing.

1.13_01  2022-08-06  <schubiger@cpan.org>

 - Add support for millisecond(s) as parsable unit.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Feb 14 14:23:01 2022 UTC (3 years, 2 months ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4 lines
Update to 1.13

Upstream changes:
1.13  2022-01-23  <schubiger@cpan.org>

 - Merged development version to stable.

1.12_01  2022-01-20  <schubiger@cpan.org>

 - Fix demand_future not working for method count_weekday.
   [github #16 - joernclausen]

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Oct 26 11:24:27 2021 UTC (3 years, 5 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
time: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Oct 7 15:04:02 2021 UTC (3 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -2 lines
time: Remove SHA1 hashes for distfiles

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Mar 27 23:52:15 2021 UTC (4 years ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -5 lines
Update to 1.12

Upstream changes:
1.12  2021-03-19  <schubiger@cpan.org>

 - Merged development version to stable.

1.11_03  2021-03-13  <schubiger@cpan.org>

 - Refactor extracting duration.

 - Don't try to trim the extract string twice.

 - Amend documentation of ::Utils.

1.11_02  2020-10-16  <schubiger@cpan.org>

 - Introduce utility function trim().

1.11_01  2020-10-03  <schubiger@cpan.org>

 - Assert that error() returns '' on success.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Nov 8 14:58:11 2020 UTC (4 years, 5 months ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -5 lines
Update to 1.11

Upstream changes:
1.11  2020-09-23  <schubiger@cpan.org>

 - Merged development version to stable.

1.10_04  2020-09-22  <schubiger@cpan.org>

 - Fail when parsing month/day with an explicit ymd-format.

1.10_03  2020-09-19  <schubiger@cpan.org>

 - Clarify meaning of format option.
   [rt #133200 - Ricardo Signes]

1.10_02  2020-09-05  <schubiger@cpan.org>

 - Allow mm/dd and dd/mm as valid formats and amend tests.

 - Improve format matching regexes.

 - List example with new format under examples section.

1.10_01  2020-08-21  <schubiger@cpan.org>

 - Allow configuration to make "8/10" mean October 8.
   [rt #133140 - Ricardo Signes]

 - Minor tweaks.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Sep 7 17:44:04 2020 UTC (4 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -5 lines
p5-DateTime-Format-Natural: update to 1.10.

1.10  2020-06-26  <schubiger@cpan.org>

 - Merged development version to stable.

1.09_01  2020-06-21  <schubiger@cpan.org>

 - Support common unit abbreviations. [github #8 - grr]

1.09  2020-05-17  <schubiger@cpan.org>

 - Merged development version to stable.

1.08_02  2020-05-01  <schubiger@cpan.org>

 - Require Params::Validate >=1.15 to fix test failures with
   older versions. [testers #112427415 - Alexandr Ciornii]

1.08_01  2020-04-17  <schubiger@cpan.org>

 - Prefer the future even stronger with demand_future.
   [rt #92189 - Ricardo Signes]

 - When advancing to future times, consider also minutes/seconds.

1.08  2019-12-07  <schubiger@cpan.org>

 - Merged development version to stable.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Apr 7 12:21:59 2019 UTC (6 years ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -5 lines
Update to 1.07

Upstream changes:
1.07  2019-03-29  <schubiger@cpan.org>

 - Merged development version to stable.
1.06_01  2019-03-13  <schubiger@cpan.org>

 - New supported format: <variant> quarter. [Xiao Yafeng]

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Nov 10 02:56:45 2018 UTC (6 years, 5 months ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -5 lines
Update to 1.06

Upstream changes:
1.06  2018-10-28  <schubiger@cpan.org>

 - Merged development version to stable.

1.05_02  2018-10-27  <schubiger@cpan.org>

 - Amend description of prefer_future option.

 - Include the time zone when constructing DateTime objects
   for the datetime option in dateparse.

 - Minor tweaks to dateparse.

1.05_01  2018-10-25  <schubiger@cpan.org>

 - Fix advancing to future when both datetime and prefer_future
   options are provided.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Apr 29 07:55:11 2017 UTC (7 years, 11 months ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -5 lines
Update to 1.05

Upstream changes:
1.05  2017-04-23  <schubiger@cpan.org>

 - Merged development version to stable.

1.04_01  2017-03-03  <schubiger@cpan.org>

 - New supported format: beginning/end of last month.
   [rt #120436 - Shawn M. Moore]

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jul 31 12:24:41 2016 UTC (8 years, 8 months ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -5 lines
Update to 1.04

Upstream changes:
1.04  2016-07-24  <schubiger@cpan.org>

 - Merged development version to stable.

1.03_02  2016-07-15  <schubiger@cpan.org>

 - Document format: ISO 8601 <date>T<time>.

 - Amend introduction text for examples section.

 - List Ricardo Signes in credits.

1.03_01  2016-07-09  <schubiger@cpan.org>

 - New supported format: ISO 8601 <date>T<time>.
   [rt #115737 - Ricardo Signes]

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Mar 5 07:40:17 2016 UTC (9 years, 1 month ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -5 lines
Update to 1.03

Upstream changes:
1.03  2015-08-02  <schubiger@cpan.org>

 - Merged development version to stable.

1.02_03  2015-07-21  <schubiger@cpan.org>

 - Suggestions for simple documentation improvements.
   [rt #98634 - Tim Bunce]

1.02_02  2015-06-05  <schubiger@cpan.org>

 - Add encoding directive to POD. [rt #105000 - Debian Perl Group]

1.02_01  2014-02-09  <schubiger@cpan.org>

 - Add metadata repository link. [David Steinbrunner]

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Nov 2 23:31:40 2015 UTC (9 years, 5 months ago) by agc
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
Add SHA512 digests for distfiles for time category

Problems found with mismatching existing digests for:
	distfiles/asclock-classic-1.0.tar.gz
	distfiles/asclock-gtk-2.1.10beta.tar.gz
	distfiles/asclock-xlib-2.0.11.tar.gz
	distfiles/emiclock-2.0.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu May 2 02:20:32 2013 UTC (11 years, 11 months ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
Update to 1.02

Upstream changlog is too long, please visit:
http://cpansearch.perl.org/src/SCHUBIGER/DateTime-Format-Natural-1.02/Changes

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Aug 17 05:52:55 2010 UTC (14 years, 8 months ago) by sno
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
Updating time/p5-DateTime-Format-Natural from 0.88 to 0.89

Upstream changes:
0.89  2010-08-05  <schubiger@cpan.org>
 - Merged development version to stable.

0.88_02  2010-07-29  <schubiger@cpan.org>
 - Replace calling of _valid_date() in _count_weekday_variant_month()
   with _check_date(), because errors are handled separate.
 - Use more descriptive variable names in _parse_formatted_ymd().
 - Minor indentation and code tweaks.

0.88_01  2010-07-18  <schubiger@cpan.org>
 - Check if suffixes used for ordinal numbers are suitable.
 - Test that invalid ordinal numbers fail and valid ones succeed.
 - Add a test file for the tests expected to succeed.
 - Verify for parse failures their errors emitted.
 - While processing grammar expressions, save all captured values
   in order to pass the extra ones to the extended checks.
 - Improve whitespace of regular expressions handling durations.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Aug 4 16:47:08 2010 UTC (14 years, 8 months ago) by sno
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
Updating time/p5-DateTime-Format-Natural from 0.85 to 0.88

Upstream changes:
0.88  2010-06-16  <schubiger@cpan.org>
 - Merged development version to stable.

0.87_03  2010-06-12  <schubiger@cpan.org>
 - Fix broken use_ok() test for the Calc module.
 - Insert some missing examples in the grammar documentation.

0.87_02  2010-06-09  <schubiger@cpan.org>
 - Strengthen the check for invalid units of prefixed dates.
 - Add a test file for parse asserts.
 - Rename Base.pm to Calc.pm and adjust trace tests.
 - Reword the according abstract and description.
 - Document where arguments to dateparse's switches are required.
 - Allow dateparse to handle the language code in uppercase.

0.87_01  2010-06-06  <schubiger@cpan.org>
 - Match case-insensitively in the language option check.
 - Require (and not use) the grammar class in runtime eval.
 - Purge the remains of the formatted instance data member.
 - Delete some instance data through hash slices.
 - Convert a few non-option identifiers to lowercase.

0.87  2010-05-29  <schubiger@cpan.org>
 - Merged development version to stable.

0.86_02  2010-05-27  <schubiger@cpan.org>
 - 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.

0.86_01  2010-05-18  <schubiger@cpan.org>
 - Introduce and use two flag handlers for AM/PM time values.
   [rt #56955 - Andrew Sterling Hanenkamp]
 - 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().

0.86  2010-04-20  <schubiger@cpan.org>
 - Merged development version to stable.

0.85_02  2010-04-11  <schubiger@cpan.org>
 - Extract both caller and sub in ::Lang::Base's AUTOLOAD() at once.
 - Correct the indentation of the same subroutine.

0.85_01  2010-04-08  <schubiger@cpan.org>
 - New supported format: <time full> AM/PM. [Wes Morgan]
 - Make _time_full() capable of working with an hours option.
 - Initialize the hours option in _at_time() after having processed
   the arguments.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Mar 16 17:16:44 2010 UTC (15 years, 1 month ago) by sno
Branches: MAIN
CVS tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
Updating time/p5-DateTime-Format-Natural from 0.84 to 0.85

pkgsrc changes:
- Adjust HOMEPAGE to CPAN "Permalink"
- Adjust dependencies according to module's META.yml

Upstream changes:
0.85  2010-03-13  <schubiger@cpan.org>
 - Merged development version to stable.

0.84_03  2010-03-11  <schubiger@cpan.org>
 - Resolve short aliases only if preceded by a digit.
 - Don't capture the date separator for matching with the format.

0.84_02  2010-03-09  <schubiger@cpan.org>
 - Guess the format of dates with a dot or hyphen as separator.
 - Check for separator mismatch when not in lax mode.

0.84_01  2010-02-24  <schubiger@cpan.org>
 - Use the format parameter case-insensitively and test it.
 - Don't bless into a reference within the metadata base constructor.
 - Add some missing commas to the grammar description.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Feb 23 19:13:06 2010 UTC (15 years, 1 month ago) by sno
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4 lines
Updating time/p5-DateTime-Format-Natural from 0.83 to 0.84

Upstream changes:
0.84  2010-02-22  <schubiger@cpan.org>
 - Merged development version to stable.

0.83_04  2010-02-16  <schubiger@cpan.org>
 - Enhance the regular expression matching a non-word alias.
 - Correct the indentation of _Nth_Weekday_of_Month_Year().

0.83_03  2010-02-14  <schubiger@cpan.org>
 - Introduce short name aliases. [rt #53976 - Kevin Field]
 - Support shortened relative dates with a +/- prefix.
   [rt #53976 - Kevin Field]
 - Add according tests for aliases and prefixed dates.
 - Test for case-insensitive processing of input strings.
 - Test compile-time loading of Aliases.pm.

0.83_02 Wed Jan 27 10:42:41 CET 2010
 - New supported formats: <time> <weekday> and <time> on <weekday>.
   [rt #53979 - Kevin Field]

0.83_01 Mon Jan 18 10:28:42 CET 2010
 - Pass the time zone object instead of name to the final DateTime
   constructor. [rt #53268 - Eric Wilhelm]

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jan 29 10:45:46 2010 UTC (15 years, 2 months ago) by sno
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
Updating time/p5-DateTime-Format-Natural from 0.79 to 0.83

Upstream changes:
0.83 Wed Jan 13 15:51:11 CET 2010
 - Merged development version to stable.

0.82_02 Wed Jan  6 10:57:43 CET 2010
 - New supported format: M/D. [rt #53187 - Shawn M. Moore]
 - Handle the new format with prefer-future semantics.
 - Add tests for the new format and also for related durations.
 - Document the new format and variations of it.
 - Restrict counting of format separators to the formatted substring.
 - Move the code processing formatted dates to a separate class.
 - Fix the checking for an invalid format parameter.
 - Complete <date> <time> to <time> type of durations.
 - Split the duration string at word boundary of the separator.
 - Restore the datetime object for each parse when running tests.
 - Test compile-time loading of Formatted.pm.

0.82_01 Thu Dec 31 12:10:30 CET 2009
 - Save the trace of each parse while processing a duration.
 - Call for formatted dates the wrapper _set() instead of set()
   in order to alter the modified counters.
 - dateparse: when printing traces, print a trace for each object
   returned.
 - Add tests for the trace method and improve its documentation.
 - Document possible bugs and caveats.
 - Rename some variables with method name strings to be more
   descriptive and also interpolate their strings initially.
 - Substitute an expression for a block as used by 'map'.

0.82 Mon Dec 21 10:15:52 CET 2009
 - Merged development version to stable.

0.81_04 Wed Dec 16 13:32:35 CET 2009
 - dateparse: use the same class instance for each parse run;
   match case-insensitively for commands that quit.

0.81_03 Fri Dec 11 10:32:08 CET 2009
 - Use string interpolation instead of concatenation for symbolic
   references in __new().

0.81_02 Wed Dec  9 20:07:19 CET 2009
 - Reduce the common logic of _valid_date() and _valid_time()
   by moving most of it to a method.
 - Store the daytime option internally with a less nested name.

0.81_01 Mon Dec  7 11:14:19 CET 2009
 - Place the common body of _add() and _subtract() in a single method.
 - Comment the inverse use of _add() within _add_or_subtract().
 - Set values at once within _check_time().
 - Initialize tokens with an anonymous array reference.
 - Purge last unneeded occurrence of 'scalar'.

0.81 Sat Nov 21 12:59:17 CET 2009
 - Merged development version to stable.

0.80_02 Wed Nov 18 10:53:05 CET 2009
 - Move utility and wrapper methods to separate classes.
 - Test compile-time loading of Utils.pm and Wrappers.pm.
 - Don't force explicit scalar context where an implicit one exists.

0.80_01 Mon Nov  2 10:59:46 CET 2009
 - Invoke _valid_date() in _day_month_year() to assert the
   validity of the date before setting it.
 - Separate fixed time data for testing purpose from code.

0.80 Fri Oct 30 10:15:53 CET 2009
 - Merged development version to stable.

0.79_02 Mon Oct 26 10:11:09 CET 2009
 - Improve wording and formatting of the documentation.
 - Update broken license links.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Sep 19 22:51:37 2009 UTC (15 years, 7 months ago) by sno
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4 lines
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]

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 9 07:31:59 2009 UTC (15 years, 8 months ago) by sno
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4 lines
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.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jun 15 23:23:43 2009 UTC (15 years, 10 months ago) by sno
Branches: MAIN
CVS tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
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.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat May 2 21:26:36 2009 UTC (15 years, 11 months ago) by sno
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4 lines
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>]

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Feb 13 23:48:50 2009 UTC (16 years, 2 months ago) by abs
Branches: TNF
CVS tags: pkgsrc-base, pkgsrc-2009Q1-base, pkgsrc-2009Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
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.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Feb 13 23:48:50 2009 UTC (16 years, 2 months ago) by abs
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>