Debian Bug report logs - #53938
y2k bug in hyperlatex-format-hlxtodayenglish

version graph

Package: hyperlatex; Maintainer for hyperlatex is (unknown);

Reported by: ppregler <ppregler@risc.uni-linz.ac.at>

Date: Mon, 3 Jan 2000 15:33:00 UTC

Severity: normal

Found in version 2.3.1-4

Done: Matthias Klose <doko@cs.tu-berlin.de>

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, Matthias Klose <doko@debian.org>:
Bug#53938; Package hyperlatex. Full text and rfc822 format available.

Acknowledgement sent to ppregler <ppregler@risc.uni-linz.ac.at>:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>. Full text and rfc822 format available.

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

From: ppregler <ppregler@risc.uni-linz.ac.at>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: y2k bug in hyperlatex-format-hlxtodayenglish
Date: Mon, 03 Jan 2000 16:29:28 +0100
Package: hyperlatex
Version: 2.3.1-4
Severity: normal


Hi,

the file /usr/lib/hyperlatex/english.hlx contains a function
hyperlatex-format-hlxtodayenglish that is used to add todays date to a
hyperlatex-file. The y2k-insensitive string match used there 

   (string-match "\\(...\\) \\(...\\) \\(..\\).*\\(19..\\)"
                  (current-time-string) nil)

should be replaced with the international version which can found in
the german/french version of the above file (german.hlx):

    (string-match "\\(...\\) \\(...\\) \\(..\\).*\\([12][0-9][0-9][0-9]\\)"
                  (current-time-string) nil)

That should solve the problem for the next 1000 years or until
time-travel is common and people start going back before y1k.

Happy y2k, Peter


-- System Information
Debian Release: potato
Architecture: i386
Kernel: Linux lugburz 2.2.14pre15 #1 Mon Dec 20 14:00:07 CET 1999 i686

Versions of packages hyperlatex depends on:
ii  emacs20 [emacsen]             20.5a-2    The GNU Emacs editor.             

-- Configuration Files:
/etc/hyperlatex/siteinit.hlx changed [not included]



Reply sent to Matthias Klose <doko@cs.tu-berlin.de>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to ppregler <ppregler@risc.uni-linz.ac.at>:
Bug acknowledged by developer. Full text and rfc822 format available.

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

From: Matthias Klose <doko@cs.tu-berlin.de>
To: ppregler <ppregler@risc.uni-linz.ac.at>, 53938-done@bugs.debian.org
Subject: Bug#53938: y2k bug in hyperlatex-format-hlxtodayenglish
Date: Fri, 7 Jan 2000 12:43:50 +0100 (MET)
Fixed in 2.3.1-5

ppregler writes:
 > Package: hyperlatex
 > Version: 2.3.1-4
 > Severity: normal
 > 
 > 
 > Hi,
 > 
 > the file /usr/lib/hyperlatex/english.hlx contains a function
 > hyperlatex-format-hlxtodayenglish that is used to add todays date to a
 > hyperlatex-file. The y2k-insensitive string match used there 
 > 
 >    (string-match "\\(...\\) \\(...\\) \\(..\\).*\\(19..\\)"
 >                   (current-time-string) nil)
 > 
 > should be replaced with the international version which can found in
 > the german/french version of the above file (german.hlx):
 > 
 >     (string-match "\\(...\\) \\(...\\) \\(..\\).*\\([12][0-9][0-9][0-9]\\)"
 >                   (current-time-string) nil)
 > 
 > That should solve the problem for the next 1000 years or until


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 03:06:53 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.