Debian Bug report logs - #53831
pilot-manager: routine "prettyTime" in PilotMgr.pm is not y2k compliant

version graph

Package: pilot-manager; Maintainer for pilot-manager is Chris Waters <xtifr@debian.org>; Source for pilot-manager is src:pilot-manager.

Reported by: servis@purdue.edu

Date: Sat, 1 Jan 2000 16:18:00 UTC

Severity: normal

Found in version 1.107-1

Done: Chris Waters <xtifr@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Darren Stalder <torin@daft.com>:
Bug#53831; Package pilot-manager. Full text and rfc822 format available.

Acknowledgement sent to servis@purdue.edu:
New Bug report received and forwarded. Copy sent to Darren Stalder <torin@daft.com>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Brian Servis <servis@purdue.edu>
To: submit@bugs.debian.org
Cc: debian-devel@lists.debian.org
Subject: pilot-manager: routine "prettyTime" in PilotMgr.pm is not y2k compliant
Date: Sat, 1 Jan 2000 11:16:30 -0500 (EST)
Package: pilot-manager
Version: 1.107-1
Severity: normal

The pretty printing of time in the pilot-manager log is not y2k
compliant.

01/01/100 10:07:07   Please press the Hotsync button on your Pilot cradle
     ^^^^^
The bug(lazy programming) is in the prettyTime routine in PilotMgr.pm. 
(sorry I don't speak perl well enough submit a patch)

-- System Information
Debian Release: potato
Kernel Version: Linux brian 2.2.13 #1 Tue Nov 16 14:54:04 EST 1999 i686 unknown

Versions of the packages pilot-manager depends on:
ii  libdigest-md5-p 2.09-1         MD5 Message Digest for Perl
ii  perl-tk         800.015-1      Perl module providing the Tk graphics librar
ii  pilot-link-perl 0.9.3-2        Perl tools to communicate with a 3COM Pilot 
ii  perl-5.005      5.005.03-4.1   Larry Wall's Practical Extracting and Report
        ^^^ (Provides virtual package perl5)
        



Information forwarded to debian-bugs-dist@lists.debian.org, Darren Stalder <torin@daft.com>:
Bug#53831; Package pilot-manager. Full text and rfc822 format available.

Acknowledgement sent to servis@purdue.edu:
Extra info received and forwarded to list. Copy sent to Darren Stalder <torin@daft.com>. Full text and rfc822 format available.

Message #10 received at 53831@bugs.debian.org (full text, mbox):

From: Brian Servis <servis@purdue.edu>
To: 53831@bugs.debian.org
Subject: patch for PilotMgr.pm from upstream author
Date: Sat, 1 Jan 2000 17:05:59 -0500 (EST)
The PilotMgr.pm upstream author posted a (simple) patch to the pilotmgr
mailing list.  

*** PilotMgr.pm.orig    Sat Jan  1 11:39:34 2000
--- PilotMgr.pm Sat Jan  1 11:39:52 2000
***************
*** 2635,2641 ****
      $TZ .= ' ' unless $TZ eq '';

      $mon++;
!     return sprintf("%02d/%02d/%02d %2d:%02d:%02d",
                   $mon, $mday, $year, $hour, $min, $sec);
  }

--- 2635,2642 ----
      $TZ .= ' ' unless $TZ eq '';

      $mon++;
!     $year += 1900;
!     return sprintf("%02d/%02d/%04d %2d:%02d:%02d",
                   $mon, $mday, $year, $hour, $min, $sec);
  }


Brian Servis
-- 
------------------------------------------------------------------------
Mechanical Engineering              |  Never criticize anybody until you  
Purdue University                   |  have walked a mile in their shoes,
servis@purdue.edu                   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.



Bug closed, send any further explanations to servis@purdue.edu Request was from Chris Waters <xtifr@debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 15:58:04 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.