Mastodon Feed: Post

Mastodon Feed

isagalaev ("Ivan Sagalaev :flag_wbw:") wrote:

But then a library comes along and just declares that "startOfMonth" will always be in a local time zone. Like, even if you give it a tz-aware date object, it would first forcefully *move* it to a local tz, and only then will start thinking of where in the calendar it is. And now we get a whole month worth of a difference depending on whether you live west or east of London. Who thought it could be a correct behavior? Like, ever?