[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r14819: Change time format to be UTC. The server currently running t (check/trunk/cgi-bin)



Author: ioerror
Date: 2008-05-29 06:23:14 -0400 (Thu, 29 May 2008)
New Revision: 14819

Modified:
   check/trunk/cgi-bin/TorBulkExitList.py
Log:
Change time format to be UTC. The server currently running this is UTC but not everyone is sane.


Modified: check/trunk/cgi-bin/TorBulkExitList.py
===================================================================
--- check/trunk/cgi-bin/TorBulkExitList.py	2008-05-29 10:19:07 UTC (rev 14818)
+++ check/trunk/cgi-bin/TorBulkExitList.py	2008-05-29 10:23:14 UTC (rev 14819)
@@ -211,8 +211,8 @@
         req.write("# You can update this list by visiting " + \
         "https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=%s #\n" % RemoteServerIP)
 
-        dateOfAccess = time.asctime()
-        req.write("# This file was fresh as of %s #\n" % dateOfAccess)
+        dateOfAccess = time.asctime(time.gmtime())
+        req.write("# This file was generated on %s UTC #\n" % dateOfAccess)
 
         for exit in TestedExits:
             req.write(str(exit))