1. andrew's Avatar
    Hello

    native clock app is incomplete

    with many cities and countries omitted.

    How can you includes the cities and countries you want , or if you find some in the time zone, to edit the text in clock app to display your choice of location?
    may the force be with us
    2007-12-26 06:41 PM
  2. redcard's Avatar
    What ones are you missing?
    To live, you have to lie
    2007-12-26 06:44 PM
  3. andrew's Avatar
    latvia
    lithuania
    estonia....
    maybe others
    may the force be with us
    2007-12-26 09:14 PM
  4. iPhone4_Nerd's Avatar
    Belize is missing too!
    2007-12-27 03:27 AM
  5. chrism238's Avatar
    How can you includes the cities and countries you want , or if you find some in the time zone, to edit the text in clock app to display your choice of location?
    I live in the remote Australian capital city of Perth. I added Perth by editing the property list file /var/root/Library/Preferences/com.apple.mobiletimer.plist as attached here. You'll first need to find your city's Lat & Lon and its zoneinfo filename. Good luck,
    Attached Thumbnails clock app-s1.jpg  
    2007-12-28 10:03 PM
  6. andrew's Avatar
    I live in the remote Australian capital city of Perth. I added Perth by editing the property list file /var/root/Library/Preferences/com.apple.mobiletimer.plist as attached here. You'll first need to find your city's Lat & Lon and its zoneinfo filename. Good luck,
    Terrific
    you edited the plist in which programme? I looked at your attachment. Seems quite straigthforward or some hidden traps ?
    Never been to Perth but have graced Sydney a few times.
    may the force be with us
    2007-12-29 12:57 AM
  7. chrism238's Avatar
    Terrific
    you edited the plist in which programme? I looked at your attachment. Seems quite straigthforward or some hidden traps ?
    Never been to Perth but have graced Sydney a few times.
    Hi Andrew,

    I just uploaded the plist file to my Mac using Cyberduck (or anything), converted the binary file to text using plutil, edited it using my favorite editor vi, then pushed it back to my 'Touch. Hope this helps,
    2007-12-30 09:25 PM
  8. andrew's Avatar
    Hi Andrew,

    I just uploaded the plist file to my Mac using Cyberduck (or anything), converted the binary file to text using plutil, edited it using my favorite editor vi, then pushed it back to my 'Touch. Hope this helps,

    Not really sure where to find plutil but presume bbedit or text edit may be an alternaitve for vi ?
    may the force be with us
    2007-12-30 11:40 PM
  9. chrism238's Avatar
    Not really sure where to find plutil but presume bbedit or text edit may be an alternaitve for vi ?
    You can edit the file any way you're able, or choose. In its original "condition" on the iPhone the plist file is in a binary format - you can either edit with a property-list editor, or convert it to XML (ASCII text) and edit it with any text editor. Then return the same file, in either format, to its original location on the iPhone. Good luck,

    [Vince, been spelling long?]
    2008-01-01 10:20 PM
  10. Cypher's Avatar
    I downloaded plist editor for Windows: http://modmyi.com/forums/showthread.php?t=13993
    Then I downloaded and installed ActivePerl MSI package for Windows: http://www.activestate.com/store/dow...5-08d58c2648ca

    Afterwards it's easy:
    1. copy plutil.pl to C
    2. copy com.apple.mobiletimer.plist from iPhone (/var/root/Library/Preferences/) to C
    3. open command line and run: Cplutil.pl com.apple.mobiletimer.plist
    4. open com.apple.mobiletimer.text.plist in notepad (now cretated in C)
    5. copy an existing array entry in dict/array and add it ad the end of all your existing array items
    6. edit all strings to their required values
      1. latitude // I used this site: http://www.satsig.net/maps/lat-long-finder.htm
      2. longitude // the same site as latitude
      3. don't know what this is (I left as it was and it worked)
      4. can leave empty (don't know either)
      5. country/city as folder/file from /usr/share/zoneinfo/[folder]/[file]
      6. city name
      7. country name
    7. save the file
    8. upload it back to iPhone using iPhoneList
    9. enjoy!


    I added the following entry and it worked fine:
    Code:
    <array>
    	<string>56.950000</string>
    	<string>24.100000</string>
    	<string>18</string>
    	<string>Europe/Riga</string>
    	<string></string>
    	<string>Riga</string>
    	<string>Latvia</string>
    </array>
    I attached the file that I have now. You can take it and modify, just remove the txt extension (couldn't upload .plist).
    You can upload it to your iPhone but as always - don't forget to backup the file you have
    Attached Files
    Last edited by Cypher; 2008-01-08 at 09:02 PM.
    2008-01-07 08:00 PM
  11. andrew's Avatar
    wonderful
    this is the answer i was seeking and if possible if anyone has mac experience attempting the same very useful. i suspect editing will be similar on mac anyway
    may the force be with us
    2008-01-08 12:46 PM
  12. DVB+'s Avatar
    TextEdit then Cyberduck
    2008-01-08 03:10 PM
  13. blue_wind's Avatar
    on mac i use pref setter for edit plist file.

    http://www.apple.com/downloads/macos...refsetter.html
    2008-01-09 05:29 PM
  14. johnski2000's Avatar
    Hi all

    Just got my iPhone and I love it.

    I too would like to add a city to the world clock. Followed the instructions and connected using cyberduck. However, I can't find the file 'com.apple.mobiletimer.plist'. Any more help would be much appreciated.

    John
    2008-04-24 12:19 AM
  15. Chase817's Avatar
    Hi all

    Just got my iPhone and I love it.

    I too would like to add a city to the world clock. Followed the instructions and connected using cyberduck. However, I can't find the file 'com.apple.mobiletimer.plist'. Any more help would be much appreciated.

    John
    That file is in the application itself.
    http://modmyi.com/forums/image.php?type=sigpic&userid=303541&dateline=12514  03473
    2008-04-24 12:49 AM
  16. johnski2000's Avatar
    That file is in the application itself.
    Thanks, but it's not there either.

    john
    2008-04-24 11:27 PM
  17. NetMage's Avatar
    The file is in ~/Library/Preferences where ~ is mobile for 1.1.3 and above and root for 1.1.2 and below.
    Starlight Computer Wizardry
    Pocket-sized Development
    Follow me on twitter: @NetMage
    2008-04-25 11:43 PM
  18. johnski2000's Avatar
    The file is in ~/Library/Preferences where ~ is mobile for 1.1.3 and above and root for 1.1.2 and below.
    Pesky little file was there. Many thanks.

    John
    2008-04-27 01:01 PM
LINK TO POST COPIED TO CLIPBOARD