]> git.openstreetmap.org Git - chef.git/commitdiff
Use UTC date when generating tile logs
authorPaul Norman <penorman@mac.com>
Thu, 4 Aug 2022 05:12:09 +0000 (22:12 -0700)
committerPaul Norman <penorman@mac.com>
Thu, 4 Aug 2022 05:12:09 +0000 (22:12 -0700)
cookbooks/tilelog/templates/default/tilelog.erb

index 86eea918b5fa9034f804563b90305cf83a267b91..b833aeb1649b2c064abef8306e2ce1d38cab8b9c 100644 (file)
@@ -3,7 +3,7 @@ set -e
 
 if [ -z "$DATE" ]
 then
-  DATE=$(date -d "1 day ago" "+%Y-%m-%d")
+  DATE=$(date -u -d "1 day ago" "+%Y-%m-%d")
 fi
 
 OUTDIR="<%= @output_dir %>"