note 102422 deleted from function.strftime by thiago
| From: | thiago@php.net | Date: | Mon, 14 Feb 2011 02:55:02 +0000 |
| Subject: | note 102422 deleted from function.strftime by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-176961@lists.php.net to get a copy of this message | ||
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"