Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

macOS Ventura 13.0 - Language Region - Date Format

This morning when I started working with macOS Ventura 13.0 I noticed to my surprise that the Date Format only has two options: 8/29/22 or 2022-08-29. But I like my dates to be shown as 08/29/2022 (including zeros). I found out that you'll have to edit ~/Library/Preferences/.GlobalPreferences.plist (this is a hidden file) and add this:


<key>AppleICUDateFormatStrings</key>
	<dict>
		<key>1</key>
		<string>MM/dd/y</string>
	</dict>	


Of course you can customize the MM/dd/y part. Wanted to share this for people with the same question.

iMac

Posted on Oct 25, 2022 6:40 AM

Reply
Question marked as Best reply

Posted on Oct 28, 2022 1:57 PM

This got me started, many thanks!


This can be performed from the command line, too, which is... easier:


defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "1" "MM/dd/y"


The dict indices, 1 through 4 correspond to the four "lengths" of dates, from short to whatever is longest. Easiest thing to do if you can find another macOS box that you'd used previously (still on macOS 12) is to run

defaults find AppleICU 

which will list out the names and related values in place on that machine (or like, get on and set things up the way you want, and then run that command to get the configuration.


My configuration is, btw:

defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "1" "ddMMMyy"
defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "2" "d MMM yy"
defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "3" "dd MMMM y"
defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "4" "EEEE, d MMMM y"


And I have some for time, as well.


Hope this helps!



Similar questions

33 replies

macOS Ventura 13.0 - Language Region - Date Format

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.