note 14204 deleted from function.strftime by danbrown

From: Date: Sat, 07 Feb 2009 01:22:54 +0000
Subject: note 14204 deleted from function.strftime by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150351@lists.php.net to get a copy of this message
Note Submitter: verdy_p at wanadoo dot fr ---- Beware of '%D': the comment shown expects that this is the same as '%m/%d/%y'. This is wrong: '%D' is only expected to returned an abbreviated numeric date according to the current locale: In the German locale '%D' is '%y.%m.%d' In the French locale '%D' is '%d/%m/%y' The locale rules still apply to %D as with '%A'... Beware that some C libraries do not support '%D' and/or '%A' or do not support them accordingly. Using strftime() is then system-dependant, because PHP use the C function provided by the system on which it runs.

« previous php.notes (#150351) next »