/** * Data di build: usa SOURCE_DATE_EPOCH se impostata (build riproducibili), altrimenti l'ora * corrente. Serve per l'anno del copyright nel footer. */ const epoch = Number(process.env.SOURCE_DATE_EPOCH); export const buildDate = Number.isFinite(epoch) && epoch > 0 ? new Date(epoch * 1000) : new Date(); export const buildYear = buildDate.getFullYear();