Package: email-reminder Version: 0.5.4-1 Severity: wishlist Tags: patch I use email-reminder to remind birthdays to mail lists. Some users complaint that they did not like the actual message:
I just want to remind you that "somebody" is getting one year older in 2 days and preferred beint told the exact day so they did not have to calculate it. So I modified code to do it and now this message is sent: I just want to remind you that "somebody" is getting one year older in 2 days (2005-08-23). This is the patch: --------- CUT HERE---------- --- Event.pm 2005-04-25 22:07:10.000000000 +0200 +++ /usr/share/perl5/EmailReminder/Event.pm 2005-08-21 03:34:21.000000000 +0200 @@ -126,7 +126,7 @@ if ($this->will_occur($days)) { if ($days > 1) { - $this->{WHEN} = "in $days days"; + $this->{WHEN} = "in $days days (" . $this->get_date() . ")"; } elsif ($days == 1) { $this->{WHEN} = "tomorrow"; ------------- CUT HERE -------------- I would like it applied or some similar solution. Thanks, txemi. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (1100, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages email-reminder depends on: ii cron 3.0pl1-88 management of regular background p ii libdate-manip-perl 5.44-1 a perl library for manipulating da ii libemail-valid-perl 0.15-2 Check validity of Internet email a ii libgtk2-perl 1:1.083-1 Perl interface to the 2.x series o ii libxml-dom-perl 1.43-4 Perl module for building DOM Level ii perl 5.8.7-4 Larry Wall's Practical Extraction Versions of packages email-reminder recommends: ii anacron 2.3-11 a cron-like program that doesn't g ii postfix [mail-transport-agent 2.2.4-1 A high-performance mail transport -- no debconf information
--- Event.pm 2005-04-25 22:07:10.000000000 +0200 +++ /usr/share/perl5/EmailReminder/Event.pm 2005-08-21 03:34:21.000000000 +0200 @@ -126,7 +126,7 @@ if ($this->will_occur($days)) { if ($days > 1) { - $this->{WHEN} = "in $days days"; + $this->{WHEN} = "in $days days (" . $this->get_date() . ")"; } elsif ($days == 1) { $this->{WHEN} = "tomorrow";