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

Inaccurate time on last modified #18

Open
ghanwar opened this issue Aug 3, 2023 · 2 comments
Open

Inaccurate time on last modified #18

ghanwar opened this issue Aug 3, 2023 · 2 comments

Comments

@ghanwar
Copy link

ghanwar commented Aug 3, 2023

Why is the last modified time in my index 7 hours longer than the current time? What's the solution?
The current time is 18.50 but the last modified time was 11.50. even though the file was just edited.

@ghanwar
Copy link
Author

ghanwar commented Aug 3, 2023

Attached picture

minixed

@ghanwar ghanwar closed this as completed Aug 3, 2023
@ghanwar ghanwar reopened this Aug 3, 2023
@lorenzos
Copy link
Owner

lorenzos commented Aug 7, 2023

It may be an issue with your timezone settings. What's the timezone in which your "current time is 18.50"? Make sure the same timezone is set as default on the system where Minixed runs; or (better?) you can try setting it in the PHP script, for example adding this as the first line of code in index.php:

date_default_timezone_set('Europe/Rome'); // One from https://www.php.net/manual/en/timezones.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

No branches or pull requests

2 participants