July 28, 2004
2:20 p.m.
Olson, Arthur David (NIH/NCI) wrote:
Is using "%-4ld" to print the year a happy medium?
OK, some advice probably nobody wants from a timezone lurker... :-) I would rather see digits appear in the same position in the string if possible (i.e. right justified, blank filled). My reasoning? The existing behavior has the day of month and hour printed that way (right justified, blank filled). I vote for %4ld, which for me fulfils the principle of least surprise. -- Michael Lindner