diff --git a/googlemap.py b/googlemap.py index 0e99639..48fede1 100644 --- a/googlemap.py +++ b/googlemap.py @@ -19,7 +19,7 @@ import stat import cPickle import Image import shutil -from time import strftime, gmtime +from time import strftime, localtime import json import util @@ -132,7 +132,7 @@ class MapGen(object): index = open(indexpath, 'r').read() index = index.replace( - "{time}", str(strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime()))) + "{time}", str(strftime("%a, %d %b %Y %H:%M:%S %Z", localtime()))) index = index.replace("{version}", util.findGitVersion()) with open(os.path.join(self.destdir, "index.html"), 'w') as output: