Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Change python code buildDate output to UTC

ZachTRiceed0272d99ce2
diff --git a/tasks/validateOptions.py b/tasks/validateOptions.py
index 30c2b7373..2520e35c7 100755
--- a/tasks/validateOptions.py
+++ b/tasks/validateOptions.py
@@ -156,7 +156,7 @@ for startingLayer in wv["defaults"]["startingLayers"]:
else:
startingLayers += [startingLayer]
wv["defaults"]["startingLayers"] = startingLayers
-wv["buildDate"] = datetime.now().isoformat(" ")
+wv["buildDate"] = datetime.utcnow()
for projection, projectionValue in wv["naturalEvents"]["layers"].iteritems():
for eventType, eventTypeLayerList in projectionValue.iteritems():
diff --git a/web/js/tour/ui.js b/web/js/tour/ui.js
index c04c513a2..0f413c1df 100644
--- a/web/js/tour/ui.js
+++ b/web/js/tour/ui.js
@@ -95,6 +95,7 @@ export function tourUi(models, ui, config) {
'buildDate': buildDateUTC,
'tourDate': hideTour
});
+ console.log('config.buildDate', config.buildDate);
console.log('buildDateUTC', buildDateUTC);
console.log('hideTour', hideTour);
if (buildDateUTC > hideTour) {