Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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
Question marked as Best reply

Oct 28, 2022 1:57 PM in response to Sanderadio

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!



Nov 22, 2022 10:38 AM in response to léonie

I tried to check that file and found this file ".GlobalPreferenes_m.plist" and it's contents:




Evidently it's a carryover from an earlier system that did allow more customization of dates.


However, I've tried to add Sanderadio's edit to the .GlobalPreferences.plist file and it won't save. I've tried several save as, i.e. different file name but with the same results. All to the Desktop.


Nov 7, 2022 9:02 PM in response to matthiasr

Apple Customer Support behaves like we are using our machines and phones for "entertainment". They told me to get in touch with Microsoft, because I was complaining about this experience in Excel. Microsoft in turns says, the time and date format is a system specific thing, I should consider downgrading to Monterey.


Maybe there are moles inside the Ventura development team, going to drive us towards using Windows, or something better than Apple. I am presently using South Africa as the region, as it provides me choice of number format. I am now a little tired of reporting issues with Apple's "unfinished" products being shipped to the market, without proper testing and dealing with customer support reps who do not understand the gravity of the matter. Just saying "I understand this is a matter of great concern to you, we are working to have your issue resolved at the earliest", while they give you a choice of "Jazz music" or "Pop music" on the phone call, is almost irritating.

Nov 22, 2022 8:30 AM in response to léonie

léonie - I just used this in Terminal... and it seems to have worked. I use the medium time format to display the timezone in the Photos info window (which I'm guessing is one of the use cases you use too). I ran the command in Terminal then opened Photos and the info window shows the timezone.


defaults write NSGlobalDomain AppleICUTimeFormatStrings -dict-add "2" "HH:mm:ss z"


For reference - I used several different sites for the information.

This one has the longer list of options... https://gist.github.com/chris-79/654bfcd252280230fa82

I just used the "3" version but made it "2" for the terminal command.


Other sites with information...

https://forums.macrumors.com/threads/date-time-format-short-medium-long-and-full-fields.2367810/

Customizing Number Format in Ventura - Apple Community

https://www.reddit.com/r/MacOSBeta/comments/vzlxy9/advanced_date_and_time_settings_missing_from/

http://www.macfreek.nl/memory/Decimal_Seperator_in_Mac_OS_X

http://hints.macworld.com/article.php?story=20080403055310704

https://opensource.apple.com/source/CF/CF-550/CFDateFormatter.c.auto.html

https://unicode-org.github.io/icu/userguide/format_parse/datetime/#datetime-format-syntax


Oct 27, 2022 7:58 AM in response to R7un

Found this on Reddit. These are in dictionaries. (Some of) the possible keys of AppleICUNumberSymbols are:

  • 0 — decimal separator for numbers
  • 1 — thousands separator for numbers
  • 4 — starting character for digits
  • 8 — currency symbol
  • 10 — decimal separator for currency
  • 17 — thousands separator for currency

Example: If want to use a space as thousands separator and a . as decimal separator, you have to do:


defaults write -g AppleICUNumberSymbols -dict 0 '.' 1 ' ' 10 '.' 17 ' '


Haven't tried it myself.

Oct 28, 2022 4:18 PM in response to Sanderadio

macOS Ventura seems half baked. How could they not include an option to further customize date and number formats? They used to have it!


I also noticed that the AirPods Pro settings calls noise cancellation at least 3 different ways all in the same setting window. It uses "noise control", "cancellation", and "noise cancellation". macOS Venutra 13.0 looks like it's still a beta product.

Nov 7, 2022 1:57 PM in response to Sanderadio

Thank for this.

I contacted Apple today about not being able to customize the date on Venture. Here on a German macOS Ventura i only had the choice between dd.MM.yy or yyyy-MM-dd. But many programs i use need a 4digit year in the format dd.MM.yyyy and unfortunately the programs use the regional settings of macOS. That was really a blocker.


It seems the customer support is not even aware that there is no way to customize date and number format in Ventura as it was possible in earlier versions. They asked me to create a new user account, start in safe mode and finally they wanted me to reinstall Ventura, which i denied.


Anyway, i got a solutions.

But i had to logoff and login again to get the changes in the file ~/Library/Preferences/.GlobalPreferences.plist recognized.


Using the shell commands 'defaults write .....' changed it immediately without the need to logoff and login again.


So thanks to all for you helpful comments.

Jan 10, 2023 12:02 AM in response to Sanderadio

Thanks, KMPeterson.

I just started experimenting with Ventura (on an external bootable disk, before doing an irreversible installation).

I noticed that the formats can no longer be set separately. This happened before ("Tiger" I think) and was a pain for two years.

I want to change the number format: I want ' (single quote) for thousands and . (dot) for decimal. But I also want English, metric, euros, YYYY-MM-DD, etc.

So I suppose there must be settings for that too, as you pointed out.

I just hope that whoever had the idea to again take some function away, will reverse that.

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.