Tutorial:Change or customize date and time formats

From The iPhone Wiki
Revision as of 06:58, 1 March 2011 by Mvn (talk | contribs)
Jump to: navigation, search

After wondering about it and trying several options I have finally managed to find and edit the date and time formats used by the iPhone today.

They are saved in a plist file in /private/var/mobile/Library/Caches/DateFormats.plist

Copy this file to your PC or MAC, edit the formats in the file and copy back :-)

Unfortunately the file is in the binary plist format, so you may need to use a utility such as plutil to convert it to text, edit and then convert back to binary. A perl based version of plutil can be found here. This is a dos file so for use on Linux you have to first convert it ti *nix format.

You can also change the way the calendar is displayed by changing the locale property in the same file.