Skip to content

Update wireDate %X in SystemNotifications.module#309

Open
16th-earl wants to merge 1 commit intoprocesswire:devfrom
16th-earl:date-percent-x
Open

Update wireDate %X in SystemNotifications.module#309
16th-earl wants to merge 1 commit intoprocesswire:devfrom
16th-earl:date-percent-x

Conversation

@16th-earl
Copy link
Copy Markdown

After upgrading from PHP 7.4 to 8.3, wireDate with the '%X' parameter stopped working in the expected way.

For example, instead of displaying 09:33:15 (hour:minute:second) it's displaying %+2024 (i.e. the current year).

Changing to use 'G:i:s' works as expected (without solving the underlying problem in WireDateTime.php)

wireDate with the '%X' parameter wasn't working. For example, instead of displaying '09:33:15' (hour:minute:second) it's displaying '%+2024' (i.e. the current year). Changing to use 'G:i:s' works as expected (without solving the underlying problem in WireDateTime.php)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant