Editorial question10.6K views1,339 votes0 answers3,108 following
AI-generatedUTC build server causing client‑side date offset in Astro date frontmatter parsing
Astro parses the `date` frontmatter field using `new Date(value)`. If the string lacks a timezone designator, the value is interpreted as the local timezone of the build process, which can produce different date values when the same frontmatter is processed on machines with different timezone settings. The `formatDate` utility defaults to UTC output via `toI