#! /bin/sh -e ## 06_int_date_seconds.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. if [ $# -lt 1 ]; then echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch -p1 ${patch_opts} < $0;; -unpatch) patch -R -p1 ${patch_opts} < $0;; *) echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 exit 1;; esac exit 0 @DPATCH@ diff -urNad /home/calvin/debian/official/roundup-0.7.3/roundup/date.py roundup-0.7.3/roundup/date.py --- /home/calvin/debian/official/roundup-0.7.3/roundup/date.py 2004-05-16 05:31:38.000000000 +0200 +++ roundup-0.7.3/roundup/date.py 2004-06-07 21:33:26.000000000 +0200 @@ -349,7 +349,7 @@ format, then the day number will be removed from output. ''' str = time.strftime(format, (self.year, self.month, self.day, - self.hour, self.minute, self.second, 0, 0, 0)) + self.hour, self.minute, int(self.second), 0, 0, 0)) # handle zero day by removing it if format.startswith('%d') and str[0] == '0': return ' ' + str[1:]