The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Tutorial:Change or customize date and time formats"
(New page: 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 plist file in /private/va...) |
(Added Category:Tutorials.) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | == Tutorial == |
||
− | 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 <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 :-) |
||
− | They are saved in plist file in /private/var/mobile/Library/Caches/DateFormats.plist |
||
− | |||
− | On a jailbroken phone, 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. |
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 [http://scw.us/iPhone/plutil/] |
||
+ | You can also change the way the calendar is displayed by changing the locale property in the same file. |
||
+ | |||
+ | == PList Tools == |
||
+ | * A [http://scw.us/iPhone/plutil/ perl based version] of plutil. This is a dos file so for use on Linux you have to first convert it to *nix format. |
||
+ | * [[wikipedia:Notepad++|Notepad++]] is a good tool for [[wikipedia:Microsoft Windows|Windows]] |
||
+ | |||
+ | {{stub}} |
||
+ | |||
+ | [[Category:Tutorials]] |
Latest revision as of 19:42, 30 March 2017
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
- A perl based version of plutil. This is a dos file so for use on Linux you have to first convert it to *nix format.
- Notepad++ is a good tool for Windows
This article is a "stub", an incomplete page. Please add more content to this article and remove this tag. |