]> git.proxmox.com Git - pve-http-server.git/commitdiff
avoid locale specific time stamps
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 24 Apr 2017 05:37:57 +0000 (07:37 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 24 Apr 2017 05:39:27 +0000 (07:39 +0200)
PVE/APIServer/AnyEvent.pm

index 222faab55e19aefcf1e46a26fd61ed0973c55457..99a97652a03e4c73380d3bf4d2dc1a4b95e17fa3 100755 (executable)
@@ -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";