From: Paul Norman Date: Thu, 4 Aug 2022 05:12:09 +0000 (-0700) Subject: Use UTC date when generating tile logs X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/eaaabb3fe68724393f99f794438eafc0410045ac Use UTC date when generating tile logs --- diff --git a/cookbooks/tilelog/templates/default/tilelog.erb b/cookbooks/tilelog/templates/default/tilelog.erb index 86eea918b..b833aeb16 100644 --- a/cookbooks/tilelog/templates/default/tilelog.erb +++ b/cookbooks/tilelog/templates/default/tilelog.erb @@ -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 %>"