Difference between revisions of "Tutorial:Change or customize date and time formats"

From The iPhone Wiki
Jump to: navigation, search
m (Tutorial)
Line 1: Line 1:
 
== Tutorial ==
 
== Tutorial ==
They are saved in a plist file in [[:/private/var/mobile/Library/Caches/DateFormats.plist]]
+
They are saved in a plist file in <code>/private/var/mobile/Library/Caches/DateFormats.plist</code>
   
 
Copy this file to your PC or MAC, edit the formats in the file and copy back :-)
 
Copy this file to your PC or MAC, edit the formats in the file and copy back :-)

Revision as of 22:08, 14 September 2013

Tutorial

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.

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

PList Tools

Apple-logo.png This article is a "stub", an incomplete page. Please add more content to this article and remove this tag.