diff --git a/README.md b/README.md index 03812bf..757343a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ pairing with smart people at Hashrocket. For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186). -_1389 TILs and counting..._ +_1390 TILs and counting..._ --- @@ -1623,6 +1623,7 @@ _1389 TILs and counting..._ - [Open Slack's Keyboard Shortcuts Reference Panel](workflow/open-slacks-keyboard-shortcuts-reference-panel.md) - [Prune The Excess From node_modules](workflow/prune-the-excess-from-node-modules.md) - [Rotate An Image To Be Oriented Upright](workflow/rotate-an-image-to-be-oriented-upright.md) +- [See Overlaps For A Set Of Time Zones](workflow/see-overlaps-for-a-set-of-time-zones.md) - [Set Recurring Reminders In Slack](workflow/set-recurring-reminders-in-slack.md) - [Toggle Between Stories In Storybook](workflow/toggle-between-stories-in-storybook.md) - [Update asdf Plugins With Latest Package Versions](workflow/update-asdf-plugins-with-latest-package-versions.md) diff --git a/workflow/see-overlaps-for-a-set-of-time-zones.md b/workflow/see-overlaps-for-a-set-of-time-zones.md new file mode 100644 index 0000000..8cf148c --- /dev/null +++ b/workflow/see-overlaps-for-a-set-of-time-zones.md @@ -0,0 +1,25 @@ +# See Overlaps For A Set Of Time Zones + +The `tz` command (`brew install tz`) will display by default your local time +and UTC for comparison. By including the `TZ_LIST` env var with a semi-colon +separated list of time zones, you can display several time zones to see how +they compare. The results are even color coded for working, flex, and +non-working hours. + +```bash +❯ TZ_LIST="US/Pacific;US/Central;Europe/Paris" tz + + What time is it? + + 🕕 (CST) Local 6:59PM, Tue 05 + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 + + 🕓 (PST) US/Pacific 4:59PM, Tue 05 + 22 23 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 + + 🕕 (CST) US/Central 6:59PM, Tue 05 + 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 + + 🕐 (CET) Europe/Paris 1:59AM, Wed 06 + 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 0 1 2 3 4 5 6 +```