mirror of
https://github.com/flarum/framework.git
synced 2024-11-27 02:53:37 +08:00
d56b792a9d
MySQL's UNIX_TIMESTAMP function interprets the date using MySQL's configured timezone, which we don't want (may be misconfigured etc). Instead, now we do the conversion to a timestamp on the PHP side. Then JavaScript is given the offset between UTC and the configure timezone so it can work out how to display the data. |
||
---|---|---|
.. | ||
admin |