#49498 [NEW]: Wrong MSDN link for strftime()

From: Date: Tue, 08 Sep 2009 11:14:49 +0000
Subject: #49498 [NEW]: Wrong MSDN link for strftime()
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2739@lists.php.net to get a copy of this message
From: carsten_sttgt at gmx dot de Operating system: Windows_NT PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Wrong MSDN link for strftime() Description: ------------ Hello, on the manual page for strftime() you can find a link to the MSDN for the formatting codes which are available on Windows. Of course this link is wrong, PHP is not a .NET application and it's not using e.g. the ToString methode from a .NET DateTime object. Thus standard DateTime format strings which are valid for .NET applications are not helpful for a PHP programmer. Instead PHP is using the C function strftime() from msvcrt. And a PHP programmer have to use a formating codes which are valid for this function. Regards, Carsten Reproduce code: --------------- http://de.php.net/manual/en/function.strftime.php Expected result: ---------------- http://msdn.microsoft.com/en-us/library/aa272978%28VS.60%29.aspx Actual result: -------------- http://msdn.microsoft.com/en-us/library/az4se3k1%28VS.71%29.aspx -- Edit bug report at http://bugs.php.net/?id=49498&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49498&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49498&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49498&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49498&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49498&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49498&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49498&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49498&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49498&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49498&r=support Expected behavior: http://bugs.php.net/fix.php?id=49498&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49498&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49498&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49498&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49498&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49498&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49498&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49498&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49498&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49498&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49498&r=mysqlcfg

« previous php.doc.bugs (#2739) next »