Minixed icon indicating copy to clipboard operation
Minixed copied to clipboard

Inaccurate time on last modified

Open ghanwar opened this issue 2 years ago • 2 comments
trafficstars

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 avatar Aug 03 '23 11:08 ghanwar

Attached picture

minixed

ghanwar avatar Aug 03 '23 12:08 ghanwar

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

lorenzos avatar Aug 07 '23 18:08 lorenzos