--- timedate-1.1600.orig/lib/Date/Parse.pm +++ timedate-1.1600/lib/Date/Parse.pm @@ -349,6 +349,11 @@ Date::Parse uses Time::Local internally, so is limited to only parsing dates which result in valid values for Time::Local::timelocal +The functions in this module are limited to the time range that can be +represented by the time_t data type, i.e. 1970-01-01 00:00:00 GMT to +2038-01-19 03:14:07 GMT, as it uses the standard C library functions +internally. + =head1 BUGS When both the month and the date are specified in the date as numbers --- timedate-1.1600.orig/lib/Date/Format.pm +++ timedate-1.1600/lib/Date/Format.pm @@ -391,6 +391,13 @@ C<%y> and C<%Y> can be output in Roman numerals by prefixing the letter with C, e.g. C<%OY> will output the year as roman numerals. +=head1 LIMITATION + +The functions in this module are limited to the time range that can be +represented by the time_t data type, i.e. 1970-01-01 00:00:00 GMT to +2038-01-19 03:14:07 GMT, as it uses the standard C library functions +internally. + =head1 AUTHOR Graham Barr --- timedate-1.1600.orig/debian/copyright +++ timedate-1.1600/debian/copyright @@ -0,0 +1,16 @@ +Take a look into the changelog.Debian.gz for the maintainers of this package. + +It was downloaded from CPAN, ftp://ftp.uni-hamburg.de/pub/soft/lang/perl/CPAN/ +modules/by-module/Time/TimeDate-*.tar.gz. +Look at http://www.perl.com/CPAN/CPAN.html for other mirrors. + +The upstream author is: (Graham Barr) + +Copyright: + +Copyright 1996 Graham Barr. All rights reserved. + +You may distribute under the terms of either the GNU General Public +License or the Artistic License, as specified in the Perl README file. +You can find the license texts in /usr/share/common-licenses/ and +/usr/share/doc/perl/copyright. --- timedate-1.1600.orig/debian/README.Maintainer +++ timedate-1.1600/debian/README.Maintainer @@ -0,0 +1 @@ +Apply everything from debian/patches/. --- timedate-1.1600.orig/debian/patches/Date_Parse.pm__perldoc_fix.diff +++ timedate-1.1600/debian/patches/Date_Parse.pm__perldoc_fix.diff @@ -0,0 +1,27 @@ +# +# Bug#175235: libtimedate-perl: multi-language documentation is wrong +# +--- /tmp/Parse.pm 2003-01-10 01:31:28.000000000 +0100 ++++ lib/Date/Parse.pm 2003-01-10 01:32:17.000000000 +0100 +@@ -309,20 +309,11 @@ + =head1 MULTI-LANGUAGE SUPPORT + + Date::Parse is capable of parsing dates in several languages, these are +-English, French, German and Italian. Changing the language is done via +-a static method call, for example +- +- Date::Parse->language('German'); +- +-will cause Date::Parse to attempt to parse any subsequent dates in German. +- +-This is only a first pass, I am considering changing this to be ++English, French, German and Italian. + + $lang = Date::Language->new('German'); + $lang->str2time("25 Jun 1996 21:09:55 +0100"); + +-I am open to suggestions on this. +- + =head1 EXAMPLE DATES + + Below is a sample list of dates that are known to be parsable with Date::Parse --- timedate-1.1600.orig/debian/patches/Date_Format__timet_note.diff +++ timedate-1.1600/debian/patches/Date_Format__timet_note.diff @@ -0,0 +1,16 @@ +--- lib/Date/Format.pm.orig 2003-11-01 00:50:07.000000000 +0100 ++++ lib/Date/Format.pm 2003-11-01 00:50:36.000000000 +0100 +@@ -391,6 +391,13 @@ + C<%y> and C<%Y> can be output in Roman numerals by prefixing the letter + with C, e.g. C<%OY> will output the year as roman numerals. + ++=head1 LIMITATION ++ ++The functions in this module are limited to the time range that can be ++represented by the time_t data type, i.e. 1970-01-01 00:00:00 GMT to ++2038-01-19 03:14:07 GMT, as it uses the standard C library functions ++internally. ++ + =head1 AUTHOR + + Graham Barr --- timedate-1.1600.orig/debian/patches/Date_Parse__timet_note.diff +++ timedate-1.1600/debian/patches/Date_Parse__timet_note.diff @@ -0,0 +1,14 @@ +--- lib/Date/Parse.pm.orig 2003-11-01 00:46:33.000000000 +0100 ++++ lib/Date/Parse.pm 2003-11-01 00:49:10.000000000 +0100 +@@ -349,6 +349,11 @@ + Date::Parse uses Time::Local internally, so is limited to only parsing dates + which result in valid values for Time::Local::timelocal + ++The functions in this module are limited to the time range that can be ++represented by the time_t data type, i.e. 1970-01-01 00:00:00 GMT to ++2038-01-19 03:14:07 GMT, as it uses the standard C library functions ++internally. ++ + =head1 BUGS + + When both the month and the date are specified in the date as numbers --- timedate-1.1600.orig/debian/compat +++ timedate-1.1600/debian/compat @@ -0,0 +1 @@ +4 --- timedate-1.1600.orig/debian/rules +++ timedate-1.1600/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f + +# Put perlmodule.mk last to dh_clean temporary files not in MANIFEST +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/perlmodule.mk --- timedate-1.1600.orig/debian/watch +++ timedate-1.1600/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/^(\d+)\.(\d\d)$/$1.${2}00/" \ +ftp://ftp.gwdg.de/pub/languages/perl/CPAN/modules/by-module/Time/TimeDate-(.*?)\.tar\.gz debian uupdate --- timedate-1.1600.orig/debian/changelog +++ timedate-1.1600/debian/changelog @@ -0,0 +1,171 @@ +timedate (1.1600-6) unstable; urgency=low + + * Corrected build depends. + + -- Christian Hammers Mon, 23 Apr 2007 00:34:38 +0200 + +timedate (1.1600-5) unstable; urgency=low + + * Corrected watch file. + + -- Christian Hammers Tue, 13 Sep 2005 22:25:01 +0200 + +timedate (1.1600-4) unstable; urgency=low + + * Added cdbs to Build-Deps and raised debhelper version there. + + -- Christian Hammers Sat, 24 Jul 2004 04:09:44 +0200 + +timedate (1.1600-3) unstable; urgency=low + + * Switched to the CDBS. + * Corrected copyright file regarding the Artistic licence. + + -- Christian Hammers Fri, 23 Jul 2004 20:53:29 +0200 + +timedate (1.1600-2) unstable; urgency=low + + * Added documentation note regarding the time range that can + be represented by this module (thanks to Gunnar Wolf). + Closes: #216818 + + -- Christian Hammers Sat, 1 Nov 2003 00:44:13 +0100 + +timedate (1.1600-1) unstable; urgency=low + + * New upstream version. + + -- Christian Hammers Sun, 26 Oct 2003 02:04:40 +0100 + +timedate (1.1400-1) unstable; urgency=low + + * New upstream release. Closes: #190197 + Upstream used a strange version number in last release, + 1.1301 which I probably should have converted to 1.13.1 :-( + + -- Christian Hammers Mon, 28 Apr 2003 19:17:44 +0200 + +timedate (1.1301-1) unstable; urgency=low + + * New upstream version. + * Fixes documentation. Closes: #175235 + + -- Christian Hammers Fri, 10 Jan 2003 01:28:17 +0100 + +timedate (1.11-5) unstable; urgency=low + + * Corrected rules file to compile in binary-indep. Closes: #157515 + * Updated build depends to perl-5.8. + + -- Christian Hammers Sun, 25 Aug 2002 22:04:01 +0200 + +timedate (1.11-4) unstable; urgency=low + + * Corrected copyright file. Closes: #157686 + + -- Christian Hammers Wed, 21 Aug 2002 21:34:35 +0200 + +timedate (1.11-3) unstable; urgency=medium + + * Last patch introduced bug in ISO time parsing. Closes: #147054 + + -- Christian Hammers Wed, 15 May 2002 10:46:17 +0200 + +timedate (1.11-2) unstable; urgency=low + + * Added upstream patch for ISO dates with uncommon notation like + "07/Nov/2000:16:45:56 +0100". Closes: #144514 + + -- Christian Hammers Mon, 29 Apr 2002 13:07:45 +0200 + +timedate (1.11-1) unstable; urgency=low + + * New upstream version. + (Seems to be major bugfixes for international time/date formats) + + -- Christian Hammers Wed, 13 Mar 2002 23:03:44 +0100 + +timedate (1.10-7) unstable; urgency=low + + * Fixed french language modul. Thanks to Peter Samuelson! + (patch sent to upstream, too) + + -- Christian Hammers Tue, 4 Sep 2001 23:59:48 +0200 + +timedate (1.10-6) unstable; urgency=low + + * Corrected Build-Depends. + + -- Christian Hammers Sun, 17 Jun 2001 12:03:09 +0200 + +timedate (1.10-5) unstable; urgency=low + + * First attempt to apply debsigs compatible signatures. + * Corrected Build-Depends. + + -- Christian Hammers Tue, 8 May 2001 21:32:26 +0200 + +timedate (1.10-4) unstable; urgency=low + + * Fixed the german abbreviation of "Oktober". Closes: #81197 + + -- Christian Hammers Sun, 18 Feb 2001 06:39:42 +0100 + +timedate (1.10-3) unstable; urgency=low + + * Now with right perl depenencies. + + -- Christian Hammers Sat, 17 Feb 2001 17:22:33 +0100 + +timedate (1.10-2) unstable; urgency=low + + * Bumped standards version. + * Changed rules file to new Debian perl policy. + + -- Christian Hammers Sat, 17 Feb 2001 17:22:13 +0100 + +timedate (1.10-1) unstable; urgency=low + + * New upstream release. + + -- Christian Hammers Sun, 31 Dec 2000 21:37:53 +0100 + +timedate (1.08-4) unstable; urgency=low + + * Oups. Missed the actual libs. Closes: #50390 + + -- Christian Hammers Wed, 17 Nov 1999 11:04:36 +0100 + +timedate (1.08-3) unstable; urgency=low + + * New maintainer upload. + + -- Christian Hammers Sun, 14 Nov 1999 23:14:02 +0100 + +timedate (1.08-2.1) unstable; urgency=low + + * NMU for the perl upgrade. Closes: #41524 + * Corrected the rules files to conform to perl policy 1.0.1. + + -- Raphael Hertzog Sun, 18 Jul 1999 21:57:23 +0200 + +timedate (1.08-2) unstable; urgency=low + + * correct spelling of control file to fix bug#19005 + * fixed upstream typo in Date::Format to fix Bug#30343, thanks to Kai + Henningsen + + -- Christian Leutloff Tue, 16 Feb 1999 00:32:49 +0100 + +timedate (1.08-1) unstable; urgency=low + + * New upstream release + * lintian bugs fixed + + -- Christian Leutloff Fri, 20 Feb 1998 15:50:03 +0100 + +timedate (1.07-1) unstable; urgency=low + + * Initial Release. + + -- Christian Leutloff Thu, 20 Nov 1997 21:16:56 +0100 --- timedate-1.1600.orig/debian/control +++ timedate-1.1600/debian/control @@ -0,0 +1,21 @@ +Source: timedate +Section: perl +Priority: optional +Maintainer: Christian Hammers +Build-Depends: debhelper (>= 4.1.0), cdbs, perl (>= 5.8) +Standards-Version: 3.7.2 + +Package: libtimedate-perl +Replaces: timedate +Conflicts: timedate +Provides: timedate +Architecture: all +Depends: ${perl:Depends} +Description: Time and date functions for Perl + This distribution replaces my earlier GetDate distribution, which was + only a date parser. The date parser contained in this distribution + is far superior to the yacc based parser, and a *lot* faster. + . + The parser contained here will only parse absolute dates, if you want + a date parser that can parse relative dates then take a look at the + Time modules by David Muir on CPAN.