From: thbley at gmail dot com Operating system: ANY PHP version: 5.5.0alpha4 Package: Date/time related Bug Type: Feature/Change Request Bug description:Extend date() formats with week number of year, weeks starting on Sunday
Description: ------------ Extend date() formats like W ISO-8601 week number of year, weeks starting on Monday with V week number of year, weeks starting on Sunday Example: date("W V", strtotime("2012-12-30")); // 52 53 date("W V", strtotime("2012-12-31")); // 01 53 E.g. MySQL has date_format() formats: %V Week (01..53), where Sunday is the first day of the week; used with %X %v Week (01..53), where Monday is the first day of the week; used with %x -- Edit bug report at https://bugs.php.net/bug.php?id=64242&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64242&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64242&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64242&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64242&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64242&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64242&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64242&r=needscript Try newer version: https://bugs.php.net/fix.php?id=64242&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=64242&r=support Expected behavior: https://bugs.php.net/fix.php?id=64242&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64242&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64242&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64242&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64242&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64242&r=dst IIS Stability: https://bugs.php.net/fix.php?id=64242&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=64242&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64242&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64242&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64242&r=mysqlcfg