From 907fa43dbb9e516daba3ceded78dbafab29d09e5 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 28 Sep 2012 14:29:00 +0200 Subject: [PATCH] Use locale independent date format for mail processing and service mail generation. Signed-off-by: Don Armstrong --- debian/changelog | 2 ++ scripts/process | 4 +++- scripts/service | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1d062f9..2a5a435 100644 --- a/debian/changelog +++ b/debian/changelog @@ -44,6 +44,8 @@ debbugs (2.4.2~exp2) UNRELEASED; urgency=low * Make sure that mails to gSubscriptionDomain and gBugSubscriptionDomain are only sent out if the variables in config are defined and have a lenght < 0. + * Use locale independent date format for mail processing and service mail + generation. -- Don Armstrong Wed, 25 Aug 2010 01:57:38 -0700 diff --git a/scripts/process b/scripts/process index 9fb2c2f..75c487a 100755 --- a/scripts/process +++ b/scripts/process @@ -7,7 +7,9 @@ use warnings; use strict; -use POSIX qw(strftime); +use locale; +use POSIX qw(strftime locale_h); +setlocale(LC_TIME, "C"); use IO::File; diff --git a/scripts/service b/scripts/service index 4346e36..fe91144 100755 --- a/scripts/service +++ b/scripts/service @@ -7,6 +7,9 @@ use warnings; use strict; +use locale; +use POSIX qw(strftime locale_h); +setlocale(LC_TIME, "C"); use Debbugs::Config qw(:globals :config); -- 2.39.2