note 102423 deleted from function.strftime by thiago

[email protected] Sun, 13 Feb 2011 18:55:47 -0800
Newsgroups php.notes
Message-ID <[email protected]>
Note Submitter: ciprianmp at yahoo dot com 

----

This worked for me to distinguish between windows and linux, for stripping leading zeros from days/months in the short formats (like for Czech):
stristr(PHP_OS,"win") ? "%#d.%#m.%Y" : "%-d.%-m.%Y"