// Posts are written in Czech time; pin the zone so the build server's timezone doesn't shift dates const timeZone = 'Europe/Prague' /** Long date for listings, e.g. "September 18, 2026". */ export const dateFormatter = new Intl.DateTimeFormat('en', { day: 'numeric', month: 'long', year: 'numeric', timeZone, }) /** Compact date for post headers, e.g. "Sep 18, 2026". */ export const shortDateFormatter = new Intl.DateTimeFormat('en', { day: 'numeric', month: 'short', year: 'numeric', timeZone, }) /** Full date and time, used for hover titles. */ export const dateTimeFormatter = new Intl.DateTimeFormat('en', { dateStyle: 'long', timeStyle: 'short', timeZone, })