human-readable times off after changing timezone
-
Problem: The human-readable times are wrong after changing the timezone in conf/app.php and php.ini. After changing them, the time displayed in the popovers is correct, but the human readable format is one hour off (my timezone is GMT+1). Things that happened a few seconda ago show "in an hour". Commit https://github.com/eveseat/web/commit/edb4f274babcf9742cda48a2c39abc31852ff10b seems to be causing this, since it presumes the time is in UTC. The human_readable function should probably be changed to use PHP's actual timezone.
-
Expected: The human-readable format should be generated using the Timezone used by PHP
-
Logs / Screenshots / Proof:

-
Version Info: PHP 7.0.25, SeAT 2.0.19, Ubuntu 16.04.3
Heya! Thanks for the report. Most things in SeAT assumes UTC to match EVE's timezone. This is especially important in cases where the API's we consume provide dates from EVE's TZ. I imagine if we wanted to make this work better as expected, we would have to make quite a few adjustments in how we handle dates and the timezone related offsets that may be needed.
Will have a look at this sometime, unless someone else wants a bash at it!