Your message dated Sun, 11 May 2025 09:58:36 +0000
with message-id <[email protected]>
and subject line Bug#1104974: Removed package(s) from unstable
has caused the Debian Bug report #696577,
regarding chronicle: funny calendar
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.)


-- 
696577: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696577
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: chronicle
Version: 4.6-2
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The calendar created when HTML::CalendarMonthSimple is installed is
quite interesting:

First of all, it produces invalid XHTML, which is probably caused by
HTML::CalendarMonthSimple (last release in 2005).

But ignoring that, it links to each posting I ever made in a
December, not only in 2012. Which is not surprising since the code
only checks for the month ...

The following simple patch seems to fix this misbehaviour:

#v+
- --- unpacked/usr/bin/chronicle  2011-05-15 20:15:12.000000000 +0200
+++ /usr/bin/chronicle  2012-12-23 06:40:12.335076631 +0100
@@ -3178,6 +3178,8 @@
 
     # get 4th element from localtime aka month in form of (0..11)
     my $curmonth = (localtime)[4] + 1;
+    # get 5th element from localtime aka year in form of year-since-1900
+    my $curyear = (localtime)[5] + 1900;
 
     foreach my $f (%data)
     {
@@ -3199,7 +3201,7 @@
         my ( $year, $month, $day ) = split( /-/, $date );
 
 
- -        if ( $month eq $curmonth )
+        if ( $month eq $curmonth && $year eq $curyear )
         {
             $cal->setdatehref( $day, fileToTitle( $data{ $f }->{ 'title' } ) );
         }
#v-


Cheers,
gregor

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJQ1pwPAAoJELs6aAGGSaoGWtkP/j/bMB0/VLOc4bifqrkF2svP
k3o+rbdCOJG6uiOwrWTLuEvShGGrsYEcSz7i27nTIR4RnI5VU1/U2ZrZ802UBvIU
PHJtiMvctYNzEVlnvr/UIdgQTnLIrW1OlTIwKUaOt+y24lj4XPhB5fqTDLaRAdSe
iO/KMsUEDKv+Stea6lCPI/CfGEBd4lpoUW4yQjsbQZbMw954y0DZnbwCR7RTY12f
phxvc87GV6n+uYiOJjhfe6t2Vuzru7zEDPVZiZRPVdMsSVG6MJtOcamOJRELft7k
xXKe0aaremHTT4aKQ486kgR8dtl0RgSsqofoAfWsgD5HPV10g+hJJP9ITNQoe/2L
fmjQ4TTCxobR11ljaswFyhMiDEHpzbQZL9ZIYqGhecrH2hMFNb5PD7WnMiGKMS/x
uaSH8a1MZqtClbmUfrwAK1RiOVi2IA36yytgkqIWig0VuodGVFmPbeGvHr+sPz0Z
t8wi94NH7bSqthZQL13FeYx/FJBC6iiDoy/vzlC3tw/8jUA+xuJdKio9hcoNsWE/
ipn1oUVSulGCEjAs+u9CYkUMb4LqMAEPvUKSZN/SxJtxXWoev55lpTfZ9akZHaOG
WDSJ+eO0PdhMPVaI3v2HglDo+PMJRG9f4umFA87l+hnH/R257pAw8/U/xprTKETv
4lhUjAKbRa9LaKpk+eZU
=uMFB
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Version: 4.6-2.1+rm

Dear submitter,

as the package chronicle has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1104974

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to