Oh, this is perfect! It’s been annoying me for a while that the system menu bar clock in macOS doesn’t allow me to format the current date in ISO 8601 format.
Bitbar will solve this for me! I’ll change the system clock to only show the day of week and the time, and then I’ll use Bitbar in order to give me the ISO 8601 date in my menu bar! :D
Edit: Neat! Someone already made a plug-in for BitBar to do this so I don’t even have to spend any time writing anything at all. And look at that, they even thought about it one step further and made it so that you can copy the date to your clipboard by clicking on it! https://getbitbar.com/plugins/Time/date-picker.1m.sh
Edit 2: Initially copy to clipboard wasn’t working but I modified the script a little bit, removing the space before each bash= and putting single quotes around each $0 and now it works.
Another good option for a fully customizable menubar clock is Itsycal, which as its name implies also serves as a small popup calendar that shows events from system calendar accounts.
I made something similar for myself, but my needs were to see local and UTC time, and to copy current unix timestamp and current ISO date-time string.
Also has some typographic trickery so the width of time shown is always constant, and doesn't "flicker" on the menu bar moving other icons by few pixels every minute.
The author has been weirdly reluctant to support new OS features, but I've been using Day-O[1] for years, it has a customizable time format[2] that could easily do 8601
Bitbar will solve this for me! I’ll change the system clock to only show the day of week and the time, and then I’ll use Bitbar in order to give me the ISO 8601 date in my menu bar! :D
Edit: Neat! Someone already made a plug-in for BitBar to do this so I don’t even have to spend any time writing anything at all. And look at that, they even thought about it one step further and made it so that you can copy the date to your clipboard by clicking on it! https://getbitbar.com/plugins/Time/date-picker.1m.sh
Edit 2: Initially copy to clipboard wasn’t working but I modified the script a little bit, removing the space before each bash= and putting single quotes around each $0 and now it works.
Edit 3: I submitted a PR for the above-mentioned change https://github.com/matryer/bitbar-plugins/pull/1471