just solved (hopefully) a long time bug with date rendering. there is zero documentation for this, but cloudflare pages’ build environment timezone can be set using
TZ=America/Los_Angeles
in your environment variables. There is zero mention of this on the Cloudflare docs site, I only found
this forum discussion.