Skip to content

Conversation

@naoisegolden
Copy link

I thought this would be useful to other people. It adds the date to the menu bar.

Screen Shot 2019-09-23 at 5 55 34 PM

Same as setting it in System Preferences:

Screen Shot 2019-09-23 at 5 57 23 PM

s10wen added a commit to s10wen/dotfiles that referenced this pull request Oct 18, 2019
Copy link

@s10wen s10wen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@naoisegolden nice, I'm implemented this on my dotfiles, cheers! FYI, there's an extra space not required in there I believe:

defaults write com.apple.menuextra.clock "DateFormat" "EEE MMM d  H.mm"

vs

defaults write com.apple.menuextra.clock "DateFormat" "EEE MMM d H.mm"

@dstroot
Copy link

dstroot commented Oct 20, 2019

Full monte:

defaults write com.apple.menuextra.clock "DateFormat" -string "EEE MMM d h:mm:ss a"

@mathiasbynens mathiasbynens changed the base branch from master to main June 16, 2020 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants