summaryrefslogtreecommitdiff
path: root/time/p5-DateTime-Format-Natural
AgeCommit message (Collapse)AuthorFilesLines
2017-06-05Recursive revbump from lang/perl5 5.26.0ryoon1-1/+2
2017-04-29Update to 1.05wen2-7/+7
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]
2016-09-18for make test: BUILD_DEPENDS+= p5-Clone-[0-9]*:../../devel/p5-Clonemef1-1/+3
2016-07-31Update to 1.04wen2-8/+7
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]
2016-06-08Bump PKGREVISION for perl-5.24.wiz1-1/+2
2016-03-05Update to 1.03wen2-8/+7
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]
2015-11-02Add SHA512 digests for distfiles for time categoryagc1-1/+2
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.
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-2/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2014-05-29Bump for perl-5.20.0.wiz1-2/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2013-05-31Bump all packages for perl-5.18, thatwiz1-1/+2
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2013-05-02Update to 1.02wen2-7/+7
Upstream changlog is too long, please visit: http://cpansearch.perl.org/src/SCHUBIGER/DateTime-Format-Natural-1.02/Changes
2012-10-08Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.asau1-2/+1
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-2/+2
are called p5-*. I hope that's all of them.
2011-08-14Revision bump after updating perl5 to 5.14.1.obache1-2/+2
2010-08-21Bump the PKGREVISION for all packages which depend directly on perl,seb1-1/+2
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@ was right after all, obache@ kindly asked and he@ led the way. Thanks!
2010-08-17Updating time/p5-DateTime-Format-Natural from 0.88 to 0.89sno2-6/+6
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.
2010-08-04Updating time/p5-DateTime-Format-Natural from 0.85 to 0.88sno2-6/+6
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.
2010-03-16Updating time/p5-DateTime-Format-Natural from 0.84 to 0.85sno2-13/+12
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.
2010-02-23Updating time/p5-DateTime-Format-Natural from 0.83 to 0.84sno2-6/+6
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]
2010-01-29Updating time/p5-DateTime-Format-Natural from 0.79 to 0.83sno2-6/+6
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.
2009-09-19Updating time/p5-DateTime-Format-Natural from 0.78 to 0.79sno2-8/+10
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-08-09Updating package for p5 module DateTime::Format::Natural from 0.77 to 0.78sno2-7/+7
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-06-15pkgsrc changes:sno2-7/+7
- 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-05-02PkgSrc changes:sno2-6/+9
- 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-02-13Added time/p5-DateTime-Format-Natural version 0.74abs3-0/+34
DateTime::Format::Natural takes a string with a human readable date/time and creates a machine readable one by applying natural parsing logic.