[Pkg-net-snmp-commits] [pkg-net-snmp] 26/27: fix Bug#785380 incorrect date format
Hideki Yamane
henrich at moszumanska.debian.org
Sun Aug 28 02:19:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch patch-queue/master
in repository pkg-net-snmp.
commit b9b8b386ea4e3d3d73459120b9c1a6d3aa08989f
Author: Hideki Yamane <henrich at debian.org>
Date: Thu Jan 28 21:38:09 2016 +0900
fix Bug#785380 incorrect date format
---
local/traptoemail | 3 +++
1 file changed, 3 insertions(+)
diff --git a/local/traptoemail b/local/traptoemail
index e738ba7..cadc18b 100755
--- a/local/traptoemail
+++ b/local/traptoemail
@@ -13,6 +13,9 @@ use Net::SMTP;
use Getopt::Std;
use POSIX qw(strftime);
+# for sane timestamp format
+$ENV{LANG} = 'C';
+
$opts{'s'} = "localhost";
$opts{'f'} = 'root@' . `hostname`;
chomp($opts{'f'});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-net-snmp/pkg-net-snmp.git
More information about the Pkg-net-snmp-commits
mailing list