summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2012-02-11 20:19:20 +0100
committerAndreas Gruenbacher <agruen@linbit.com>2012-02-11 20:30:00 +0100
commit673a4aa49d70708453ccea30c7a723af271ee19c (patch)
tree09db4bd2ab201a15e0984ca91d0759efbd21d068
parentcc4ed02d16bfd3780adab593beb71407181df4ac (diff)
downloadquilt-673a4aa49d70708453ccea30c7a723af271ee19c.tar.gz
quilt mail: Don't use localized date format in From lines
-rw-r--r--quilt/mail.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/quilt/mail.in b/quilt/mail.in
index da4fcab..99102b7 100644
--- a/quilt/mail.in
+++ b/quilt/mail.in
@@ -141,7 +141,7 @@ process_mail()
| ${QUILT_SENDMAIL:-sendmail} \
${QUILT_SENDMAIL_ARGS--f "$opt_sender"} "$@"
else
- local from_date=$(date "+%a %b %e %H:%M:%S %Y")
+ local from_date=$(LC_ALL=POSIX date "+%a %b %e %H:%M:%S %Y")
echo "From $opt_sender_address $from_date"
sed -e 's/^From />From /' $tmpfile
echo