Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use server timezone when displaying dates #190

Merged
merged 1 commit into from Nov 10, 2021
Merged

Conversation

LeoShivas
Copy link
Contributor

As cachetool create a DateTime with the 'U' format (timestamp), the timezone is ignored (as the PHP documentation says : https://www.php.net/manual/fr/datetime.createfromformat.php).
I added this line in order to have a "cachetool opcache:status" in the server's timezone.

As cachetool create a DateTime with the 'U' format (timestamp), the timezone is ignored (as the PHP documentation says : https://www.php.net/manual/fr/datetime.createfromformat.php).
I added this line in order to have a "cachetool opcache:status" in the server's timezone.
@gordalina gordalina merged commit 5e0458d into gordalina:main Nov 10, 2021
@gordalina gordalina changed the title Update Formatter.php Use server timezone when displaying dates Nov 10, 2021
@gordalina
Copy link
Owner

Thank you!

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.

None yet

2 participants