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


Click here to return to the 'Some may not have this key.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Some may not have this key.
Authored by: james_sorenson on Feb 20, '02 02:03:23AM

Some people may find that this key doesn't exist in the global preference file. Just add this under the <dict> key:

<key>NSTimeFormatString</key>
<string>%a, %e %b %H:%M</string>

This gives me the date as follows:
Tue, 19 Feb 23:01

This is a great tip, by the way. I don't have to sacrifice CPU cycles anymore to clock hacks. Cool! PTHClock may be broken ion 10.1.3, but now I don't need it anymore.



[ Reply to This | # ]
Some may not have this key.
Authored by: law on Feb 20, '02 06:47:55AM

In the same idea, how can you set the decimal separator for numbers?
I have a french keyboard and would like to use the dot (.) instead of
the coma (,) but I can't with the systemPreference application and even
when changing the ~/Library/Preferences/.GlobalPreferences.plist file.
The comma is always active...
If anybody knows...



[ Reply to This | # ]
Some may not have this key.
Authored by: james_sorenson on Feb 20, '02 02:29:33PM

If you see my post above, I have included a comma in the field, and it works fine (per the example). Perhaps your delimiters are not set right? You should be using <string> delimiters.



[ Reply to This | # ]