Your message dated Fri, 6 Apr 2012 21:33:52 +0200
with message-id <[email protected]>
and subject line Re: Bug#665809: libdate-manip-perl: ParseDate breaks on 
non-existing times during DST change
has caused the Debian Bug report #665809,
regarding libdate-manip-perl: ParseDate breaks on non-existing times during DST 
change
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
665809: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665809
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libdate-manip-perl
Version: 6.11-1
Severity: normal


Date::Manip does not handle the case correctly where a specified time
lies in a non-existing gap, e.g. here in Germany between 2am and 3am
when the time is skipping one hour.

Try this to reproduce the bug:

---8<----8<-----8<-----8<-----8<-----8<-----8<---
#!/usr/bin/perl

use strict; use warnings;

use Date::Manip;

&Date_Init();

my $d = ParseDate("2012-03-25 at 02:11");

---8<----8<-----8<-----8<-----8<-----8<-----8<---

Use of uninitialized value $y in length at /usr/share/perl5/Date/Manip/Base.pm 
line 2225.
Use of uninitialized value $y in concatenation (.) or string at 
/usr/share/perl5/Date/Manip/Base.pm line 2226.
Use of uninitialized value $m in length at /usr/share/perl5/Date/Manip/Base.pm 
line 2228.
Use of uninitialized value $d in length at /usr/share/perl5/Date/Manip/Base.pm 
line 2229.
Use of uninitialized value $h in length at /usr/share/perl5/Date/Manip/Base.pm 
line 2230.
Use of uninitialized value $mn in length at /usr/share/perl5/Date/Manip/Base.pm 
line 2231.
Use of uninitialized value $s in length at /usr/share/perl5/Date/Manip/Base.pm 
line 2232.
Use of uninitialized value $m in concatenation (.) or string at 
/usr/share/perl5/Date/Manip/Base.pm line 2233.
Use of uninitialized value $d in concatenation (.) or string at 
/usr/share/perl5/Date/Manip/Base.pm line 2233.
Use of uninitialized value $h in concatenation (.) or string at 
/usr/share/perl5/Date/Manip/Base.pm line 2233.
Use of uninitialized value $mn in concatenation (.) or string at 
/usr/share/perl5/Date/Manip/Base.pm line 2233.
Use of uninitialized value $s in concatenation (.) or string at 
/usr/share/perl5/Date/Manip/Base.pm line 2233.
Use of uninitialized value $beg in string comparison (cmp) at 
/usr/share/perl5/Date/Manip/TZ.pm line 1069.
Use of uninitialized value $end in string comparison (cmp) at 
/usr/share/perl5/Date/Manip/TZ.pm line 1071.
Use of uninitialized value $year in addition (+) at 
/usr/share/perl5/Date/Manip/TZ.pm line 1072.

---8<----8<-----8<-----8<-----8<-----8<-----8<---

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libdate-manip-perl depends on:
ii  libyaml-syck-perl      1.12-1            Perl module providing a fast, ligh
ii  perl                   5.10.1-17squeeze3 Larry Wall's Practical Extraction 

libdate-manip-perl recommends no packages.

libdate-manip-perl suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 6.30-1


On Mon, 02 Apr 2012 12:41:35 +0200, Andy Spiegl wrote:

> > Ah, Date::Manip::Examples is interesting:
> Interesting!  I didn't know that.

Me neither before looking into the docs due to your bug report :)
 
> However, unfortunately this isn't a solution with 6.11-1
> because the result of the "parse" function returns "0" in this case.
> (using a different invalid date returns "1" as it should)

D'oh!
Thanks, I indeed missed the return value.
 
> > So it seems that is a case of finding the nice details and docs, and
> > we can close the bug (either unversioned, since the OO interface also
> > works in stable, or with 6.30-1, since this contains a fix for the
> > functional interface).
> I disagree in the case of 6.11-1. :-)

Right, closing with 6.30-1 now.


Cheers,
gregor
 
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Alannah Myles

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to