diff --git a/tools/build/build.py b/tools/build/build.py index dd025173..79965272 100755 --- a/tools/build/build.py +++ b/tools/build/build.py @@ -2,7 +2,6 @@ #vim: et:ts=4:sw=4:sts=4 import base64 -import datetime import json import os import ox @@ -195,7 +194,7 @@ def build_oxjs(downloads=False, geo=False): # downloads if downloads: data = { - 'date': datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ'), + 'date': time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime()), 'size': {'minified': os.path.getsize(build_path + 'Ox.js')}, 'version': version }