note 94442 deleted from function.strftime by danbrown
| From: | danbrown@php.net | Date: | Thu, 05 Nov 2009 14:56:41 +0000 |
| Subject: | note 94442 deleted from function.strftime by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-162416@lists.php.net to get a copy of this message | ||
Note Submitter: maurizio at obras dot vr dot it
Reason: in docs
----
Just a little flaw I just encountered while developing on a Windows server.
"%e" tag is unsupported on the Windows platform, so if you try to execute a
strftime("%e", $theTime)
you'd receive an empty string as the result.
To strip blank or 0 chars at the beginning of a tag Windows uses a "#" in the tag, i.e.
strftime("%#d", $theTime)
works as expected.