Edit report at http://bugs.php.net/bug.php?id=51934&edit=1
ID: 51934 Updated by: sjo...@php.net Reported by: brent dot hansen at gmail dot com Summary: strtotime plurals / incorrect time Status: Open Type: Bug Package: Date/time related Operating System: Win 7 Pro PHP Version: 5.3.2 New Comment: It interprets the S as Sierra Time Zone. Similar to: echo date("Y-m-d H:i:s",strtotime("4 SundayPST ago")); Previous Comments: ------------------------------------------------------------------------ [2010-05-27 19:18:54] brent dot hansen at gmail dot com Description: ------------ Pluralization seems to remove 1 hour from calculation or drops daylight savings adjustment. Notes: date.timezone = America/Los_Angeles Correction to PHP version: 5.3.1 Test script: --------------- date("Y-m-d H:i:s",strtotime("4 Sunday ago")); date("Y-m-d H:i:s",strtotime("4 Sundays ago")); Expected result: ---------------- 2010-05-01 00:00:00 2010-05-01 00:00:00 Actual result: -------------- 2010-05-01 00:00:00 2010-04-30 23:00:00 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51934&edit=1