From 2fd728c93b30603de0d788eaa7d33707e2016274 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 24 Apr 2017 07:37:57 +0200 Subject: [PATCH] avoid locale specific time stamps --- PVE/APIServer/AnyEvent.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/APIServer/AnyEvent.pm b/PVE/APIServer/AnyEvent.pm index 222faab..99a9765 100755 --- a/PVE/APIServer/AnyEvent.pm +++ b/PVE/APIServer/AnyEvent.pm @@ -80,7 +80,7 @@ sub log_request { my $content_length = defined($loginfo->{content_length}) ? $loginfo->{content_length} : '-'; my $code = $loginfo->{code} || 500; my $requestline = $loginfo->{requestline} || '-'; - my $timestr = strftime("%d/%b/%Y:%H:%M:%S %z", localtime()); + my $timestr = strftime("%d/%m/%Y:%H:%M:%S %z", localtime()); my $msg = "$peerip - $userid [$timestr] \"$requestline\" $code $content_length\n"; -- 2.39.2