Created
September 22, 2017 21:34
-
-
Save tlehman/b3ae61cb5db53dddaf6a331ab836f2bc to your computer and use it in GitHub Desktop.
times script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # This is used in bitbar to display the time in the two main timezones I work in: | |
| TZ=America/Los_Angeles date +"%Y-%h-%d %r (%Z)" | sed 's/:[0-9][0-9] / /g' | |
| TZ=UTC date +"%Y-%h-%d %r (%Z)" | sed 's/:[0-9][0-9] / /g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment