Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'To change the date format in the drop down menu:' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
To change the date format in the drop down menu:
Authored by: Tom_H on Jun 09, '02 08:29:23PM

This string is stored in /System/Library/CoreServices/Menu Extras/Clock.menu/Contents/Resources/English.lproj/Localizable.strings
You need to change the value for MBC_DATETIME_MENUITEM_FORMAT.
The default value is "%A %1m/%e/%Y %1I:%M%p"
I changed mine to "%A %e/%1m/%Y %1I:%M%p", which displays the date in DD/MM/YYYY format, instead of MM/DD/YYYY.
If you do it once using PropertyListEditor (part of Dev Tools), the file is changed from it's old format to an xml property list. After that you can editi it easily using pico.
Easiest way to do it is to log in as root, make the change using PropertyListEditor, then log back in as yourself. (You have to log out to see the change).
Oh, and before you start, make a backup, just in case:

cd /System/Library/CoreServices/Menu Extras
sudo cp -R Clock.menu ClockOld.menu


[ Reply to This | # ]
To change the date format in the drop down menu:
Authored by: Mara on Jun 10, '02 09:04:31AM

I did try that, changing that line in the Localizable.strings file but it didn't work, and now in the pulldown menu the "open date and time..." command shows the following line from the file itself, ie. "/*1st menu etc.". No crashes, everything works as before, but how can I fix that? (I didn't do the backup, erm!)



[ Reply to This | # ]