Commit e395c75f authored by 's avatar

Merged TZ formatting in medusa server log fix from 2.2 branch

parent 5dacb50d
......@@ -6,7 +6,7 @@
# All Rights Reserved.
#
RCS_ID = '$Id: http_server.py,v 1.18 2000/06/27 17:59:04 brian Exp $'
RCS_ID = '$Id: http_server.py,v 1.19 2000/08/23 20:39:26 brian Exp $'
# python modules
import os
......@@ -260,7 +260,7 @@ class http_request:
def log_date_string (self, when):
return time.strftime (
'%d/%b/%Y:%H:%M:%S ',
time.gmtime(when)
time.localtime(when)
) + tz_for_log
def log (self, bytes):
......
......@@ -6,7 +6,7 @@
# All Rights Reserved.
#
RCS_ID = '$Id: http_server.py,v 1.18 2000/06/27 17:59:04 brian Exp $'
RCS_ID = '$Id: http_server.py,v 1.19 2000/08/23 20:39:26 brian Exp $'
# python modules
import os
......@@ -260,7 +260,7 @@ class http_request:
def log_date_string (self, when):
return time.strftime (
'%d/%b/%Y:%H:%M:%S ',
time.gmtime(when)
time.localtime(when)
) + tz_for_log
def log (self, bytes):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment