logo

drewdevault.com

[mirror] blog and personal website of Drew DeVault git clone https://hacktivis.me/git/mirror/drewdevault.com.git

March-2nd-1943.md (2453B)


  1. ---
  2. date: 2020-07-14
  3. title: March 2nd, 1943
  4. layout: post
  5. tags: [time]
  6. ---
  7. It's March 2nd, 1943. The user asks your software to schedule a meeting with
  8. Acmecorp at "9 AM on the first Monday of next month".
  9. <pre>
  10. <code>
  11. [6:17:45] homura ~ $ cal -3 2 March 1943
  12. February 1943 March 1943 April 1943
  13. Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
  14. 1 2 3 4 5 6 1 <span style="background: black; color: white"> 2</span> 3 4 5 6 1 2 3
  15. 7 8 9 10 11 12 13 7 8 9 10 11 12 13 4 <span style="background: #666; color: white"> 5</span> 6 7 8 9 10
  16. 14 15 16 17 18 19 20 14 15 16 17 18 19 20 11 12 13 14 15 16 17
  17. 21 22 23 24 25 26 27 21 22 23 24 25 26 27 18 19 20 21 22 23 24
  18. 28 28 29 30 31 25 26 27 28 29 30
  19. </code>
  20. </pre>
  21. Right now, California is on Pacific Standard Time (PST) and Arizona is on
  22. Mountain Standard Time (MST). On March 8th, California will transition to
  23. Pacific Daylight Time (PDT), one hour ahead. Arizona does not observe DST, so
  24. they'll stay behind.
  25. At least until April 1st &mdash; when the governor will sign an emergency order
  26. moving the state to MDT, effective immediately.
  27. Back on March 2nd, you send an email to each participant telling them about the
  28. meeting. One of them has their locale set to en_GB, so some of the participants
  29. need to be sent "04/05/43" and some "05/04/43".
  30. A moment later, the user asks you to tell it the number of hours betweeen now
  31. and the meeting they just scheduled. The subject of the meeting is purchasing
  32. fuel for a machine that the user is now filling with enough fuel to last until
  33. then.
  34. On the day of the meeting, the user drives to the Navajo reservation to conduct
  35. some unrelated business, and has to attend the meeting by phone. The reservation
  36. has been on daylight savings time since March 8th, by the way, they never stayed
  37. behind with the rest of Arizona. The user expects the software to warn them 1
  38. hour prior to the meeting start. The border of the reservation is defined by a
  39. river, which is slowly moving East.[^1]
  40. [^1]: Okay, that last bit isn't true. But imagine if it was!
  41. [The changelog for the IANA zoneinfo database](https://mm.icann.org/pipermail/tz-announce/)
  42. is great, by the way, you should read it.
  43. [Or subscribe](https://mm.icann.org/mailman/listinfo/tz-announce) to get it
  44. periodically[^2] material delivered to your inbox!
  45. [^2]: But with what period? 😉