summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--quilt.changes5
-rw-r--r--quilt/mail.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/quilt.changes b/quilt.changes
index 388d12c..49fe468 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Feb 2 17:35:19 CET 2005 - agruen@suse.de
+
+- Fix date calculation bug with some versions of GNU date.
+
+-------------------------------------------------------------------
Wed Feb 2 01:16:57 CET 2005 - agruen@suse.de
- Use color defaults so that QUILT_COLORS can be used to only
diff --git a/quilt/mail.in b/quilt/mail.in
index 88d5ce7..f23be1a 100644
--- a/quilt/mail.in
+++ b/quilt/mail.in
@@ -209,7 +209,7 @@ for patch in "$@"; do
# sleep 1
#done
((last_ts++))
- new_date="$(date --rfc-822 -d "1970/01/01 UTC + $last_ts seconds")"
+ new_date="$(date --rfc-822 -d "1970/01/01 UTC $last_ts seconds")"
cat_file $(patch_file_name $patch) \
| quilt_mail_patch_filter $patch > $body