Closed Noziro closed 4 years ago
Dates put through the readable_date() function in server.php, seen below, displays based on a skewed time zone. Not sure as of yet where in the pipeline it is going wrong so cannot precisely describe the problem. https://github.com/Noziro/MediaTracker/blob/779614791d42c54f533acf72aa465196b0549132/server/server.php#L175
If I input a date from UTC-7, and PHP is set to UTC, it will display "7 hours ago" instead of now. This is "fixed" if PHP is set to the same time zone as I am.
Dates put through the readable_date() function in server.php, seen below, displays based on a skewed time zone. Not sure as of yet where in the pipeline it is going wrong so cannot precisely describe the problem. https://github.com/Noziro/MediaTracker/blob/779614791d42c54f533acf72aa465196b0549132/server/server.php#L175
If I input a date from UTC-7, and PHP is set to UTC, it will display "7 hours ago" instead of now. This is "fixed" if PHP is set to the same time zone as I am.