-
-
Notifications
You must be signed in to change notification settings - Fork 555
Closed
Labels
enhancementfavoriteVanity label! We like this enhancement request a lot.Vanity label! We like this enhancement request a lot.feature: datesRelated to content datesRelated to content dates
Milestone
Description
I'd like to use IANA time zone codes for specifying localized time in post dates, like so:
date: 2019-08-31 23:59:56 Europe/LisbonIn my humble opinion this would be the best way to avoid the dates off by one day pitfall.
Unlike UTC-based time offsets (e.g. +01:00), IANA codes abstract away offset differences from Daylight Saving Time, so a single value magically works all year round. They're also easier to understand, and provide a bit more geographical context, which is a nice bonus.
IANA codes are supported in Luxon, represented by the z token.
Eleventy currently rejects this date format as invalid, but it works in Jekyll. I'm porting over my Jekyll blog, and with over 800 posts all using this date format, um, help
Ryuno-Ki, harveyramer, ajenkins, ashur, craigmdennis and 25 morexplosionmindxplosionmind
Metadata
Metadata
Assignees
Labels
enhancementfavoriteVanity label! We like this enhancement request a lot.Vanity label! We like this enhancement request a lot.feature: datesRelated to content datesRelated to content dates