Edit report at https://bugs.php.net/bug.php?id=78235&edit=1
ID: 78235 Updated by: [email protected] Reported by: rowan dot collins at gmail dot com Summary: User Group Event form day-of-week field off-by-one error -Status: Open +Status: Verified Type: Bug Package: Website problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: > I note that the list is shown Monday-first; [â¦] That depends on the current year, since the list is generated from the first seven days of April[1]. The preview seems to use the submitted month instead[2], what would explain the reported behavior for September. Apparently, after actual form submission the day is calculated for April 2001[3] which likely yields yet another result. [1] <https://github.com/php/web-php/blob/master/submit-event.php#L161-L163> [2] <https://github.com/php/web-php/blob/bf67b086c586a3eaa71b12166062e6e6762ac45b/include/layout.inc#L342> [3] <https://github.com/php/web-master/blob/2d9f549e01adbc625396daf2fa7c2ec00fd067c4/entry/event.php#L17-L19> Previous Comments: ------------------------------------------------------------------------ [2019-06-30 14:57:45] rowan dot collins at gmail dot com Description: ------------ I am attempting to create a listing for a recurring User Group event at https://www.php.net/submit-event.php When I select "First Wednesday of the month" on the form and click "Preview", it displays "First Tuesday of the month" in the preview. To get "First Wednesday", I have to select "Thursday" from the drop-down. In other words, the day displayed in the preview is a day before what's displayed on the form. I note that the list is shown Monday-first; perhaps there is a mismatch with a system expecting Sunday-first ordering. In case it's relevant, my browser is set to Europe/London timezone and en-GB locale. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78235&edit=1 -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
