March 2nd, 1943 July 14, 2020 on Drew DeVault's blog

It’s March 2nd, 1943. The user asks your software to schedule a meeting with Acmecorp at “9 AM on the first Monday of next month”.


[6:17:45] homura ~ $ cal -3 2 March 1943
    February 1943          March 1943            April 1943
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6      1  2 3  4  5  6               1  2  3
 7  8  9 10 11 12 13   7  8  9 10 11 12 13   4  5  6  7  8  9 10
14 15 16 17 18 19 20  14 15 16 17 18 19 20  11 12 13 14 15 16 17
21 22 23 24 25 26 27  21 22 23 24 25 26 27  18 19 20 21 22 23 24
28                    28 29 30 31           25 26 27 28 29 30

Right now, California is on Pacific Standard Time (PST) and Arizona is on Mountain Standard Time (MST). On March 8th, California will transition to Pacific Daylight Time (PDT), one hour ahead. Arizona does not observe DST, so they’ll stay behind.

At least until April 1st — when the governor will sign an emergency order moving the state to MDT, effective immediately.

Back on March 2nd, you send an email to each participant telling them about the meeting. One of them has their locale set to en_GB, so some of the participants need to be sent “04/05/43” and some “05/04/43”.

A moment later, the user asks you to tell it the number of hours betweeen now and the meeting they just scheduled. The subject of the meeting is purchasing fuel for a machine that the user is now filling with enough fuel to last until then.

On the day of the meeting, the user drives to the Navajo reservation to conduct some unrelated business, and has to attend the meeting by phone. The reservation has been on daylight savings time since March 8th, by the way, they never stayed behind with the rest of Arizona. The user expects the software to warn them 1 hour prior to the meeting start. The border of the reservation is defined by a river, which is slowly moving East.1

The changelog for the IANA zoneinfo database is great, by the way, you should read it. Or subscribe to get it periodically2 material delivered to your inbox!


  1. Okay, that last bit isn’t true. But imagine if it was! ↩︎

  2. But with what period? 😉 ↩︎

Have a comment on one of my posts? Start a discussion in my public inbox by sending an email to ~sircmpwn/public-inbox@lists.sr.ht [mailing list etiquette]

Articles from blogs I read Generated by openring

Status update, August 2020

Hi! Regardless of the intense heat I’ve been exposed to this last month, I’ve still been able to get some stuff done (although having to move out to another room which isn’t right under the roof). I’ve worked a lot on IRC-related projects. I’ve added a znc-i…

via emersion 2020-08-19 00:00:00 +0200 +0200

What's cooking on Sourcehut? August 2020

Another month passes and we find ourselves writing (or reading) this status update on a quiet, rainy Sunday morning. Today our userbase numbers 16,683 members strong, up 580 from last month. Please extend a kind welcome to our new colleagues! Thanks for read…

via Blogs on Sourcehut 2020-08-16 00:00:00 +0000 +0000

Go 1.15 is released

Today the Go team is very happy to announce the release of Go 1.15. You can get it from the download page. Some of the highlights include: Substantial improvements to the Go linker Improved allocation for small objects at high core coun…

via The Go Programming Language Blog 2020-08-11 11:00:00 +0000 +0000

North Pacific Logbook

The passage from Japan (Shimoda) to Canada (Victoria) took 51 days, and it was the hardest thing we've ever done. We decided to keep a logbook, to better remember it and so it can help others who wish to make this trip.Continue Reading

via Hundred Rabbits 2020-07-31 00:00:00 +0000 GMT