A date & time library for Javascript.

Luxon 1.8.2 is out, with a small fix for offset formatting in Edge
1
Luxon 1.8.1 is out, feature toSeconds() and fromSeconds(), by strangely popular demand!
FullCalendar has a pretty slick-looking Luxon plugin: fullcalendar.io/docs/v4/luxo…
1
2
The main thing you learn from supporting a widely-used open source library is that people do a lot of weird shit with software.
2
7
For funsies I'm going through the momentjs tag in StackOverflow and the majority questions are variants of this problem
The biggest challenge people have with datetime programming is differentiating the idea of a moment in time from a (possibly zone-dependent) representation of a time. It comes up enough that it just must be hard.
1
1
1
Here's what the Luxon docs say about this subject
1
1
Another variant is "why doesn't this parser know my string expresses a time in UTC?" stackoverflow.com/questions/… This one comes up a lot of Luxon too, though I think Luxon's API for this is clearer than Moment's stackoverflow.com/questions/…
1
Guys, California isn't "making DST permanent"; they're setting their offset to -7 and leaving it there
2
1
It's true that CA's longitude works out to 7.6-8.3 "hours" away from GMT, but that doesn't matter at all and doesn't make using -7 a DST. It's only a DST if it changes during the year.
1
1
I AM A DATETIME LIBRARY WITH GOOD TIME ZONE SUPPORT I KNOW THESE THINGS LISTEN TO ME
1
5
Luxon 1.6.0 is out, featuring a major rework of negative durations, a bug fix, and a few other goodies. Check out the changelog or just trust us that it's awesome! github.com/moment/luxon/blob…
1
2
And 1.6.1, because I kind of screwed that one up!
1
1
Turns out I also screwed up 1.6.1, so checkout 1.6.2
1
Lead the way, California!
California voters reject the tyranny of daylight saving clock changes vox.com/midterm-elections/20…
1
Open source projects can't vote, but if they could, this one would be a single-issue voter for ending DST
1
1
5
It's raining Luxon releases over here! We've got 1.5.0 out with better error and invalid object messages.
1
2