]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilelog/templates/default/tilelog.erb
Use UTC date when generating tile logs
[chef.git] / 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 %>"