Design a calendar UI which is able to display a 1 hour meeting which starts at 3 AM and ends at 3 AM (and takes place during the DST changeover)

It's March 2nd, 1943. Your user is in Arizona and using your software to plan a meeting with a customer in California. The user asks you to "schedule a meeting with Acme Corp for 9 AM on the first Friday of next month".

California and Arizona are in different time zones.

Between now and then, California will begin daylight savings time as scheduled on March 8th, but Arizona doesn't do DST so they'll stay behind. However, on April 1st, the governor will sign an emergency order moving Arizona to DST, effective immediately.

By the way, on the day of the meeting, the user will have driven to the Navajo reservation to join some colleagues for the phone call. They /do/ use DST in that part of Arizona. Mostly, some parts don't.

You are to (1) correctly display this meeting in your calendar UI for both participants, (2) send an email to Acme Corp with the meeting details, and (3) notify both users when the meeting is about to begin.

Good luck!

Show thread

Bonus: for whatever reason, on March 28th the user asks you to tell it how many hours remain until the meeting. We'll assume that they have to top off the fuel in the engine which is the subject of the meeting and it has to be running until then.

Show thread

Bonus two: the borders of the Navajo nation are defined by a river

(haha j/k, but imagine)

Show thread

Extra bonus: one of the meeting attendees has their locale set to en_GB, so you have to tell half the meeting that it's on 04/02/43 and the other half that it's on 02/04/43

Show thread
Follow

@sir ISO8601 and get rid of DST. DST is useless, even harmful, unlike timezones.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml