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


Click here to return to the 'Format String is just plain C' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Format String is just plain C
Authored by: Big Mac Sneep on Nov 27, '01 10:15:08AM

The %x and %a specifiers are date format specifiers from the strftime function in C.

If you have the developer tools installed, try the command (from the terminal) `man 3 strftime' (no quotes). This gives you a list of options for strftime. Be _VERY_ careful befor hacking away though: if the file you're editing is a binary file (which is not unlikely, given the path) then you can only replace "%a " with "%. ", where . represents a single character. If the file is a script, or an xml file, then you can probably edit it by hand and insert a longer string.

Right now I'm not at my OS X machine, so I cannot test it. As always: use at your own risk...

Maarten



[ Reply to This | # ]