Interactive interface for browsing global, full-resolution satellite imagery
Change date format to UTC on build, offset layer date before gif check
ZachTRicebd1bdab4c176
diff --git a/web/js/animation/gif.js b/web/js/animation/gif.jsindex c31f85b87..da982e06b 100644--- a/web/js/animation/gif.js+++ b/web/js/animation/gif.js@@ -442,9 +442,9 @@ export function animationGif(models, config, ui) {});lodashEach(products, function(layer) {if (layer.endDate) {- if (date > new Date(layer.endDate)) return;+ if (layerDate > new Date(layer.endDate)) return;}- if (layer.visible && new Date(layer.startDate) < date) {+ if (layer.visible && new Date(layer.startDate) <= layerDate) {layers.push(layer);} else if (!layer.startDate) {layers.push(layer);