mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-24 23:48:41 +00:00
fix(install/bundle): fix the wrong submission time
The submissions' submit time is not correct because the time zone of mysql isn't set. And this commit has fixed it.
This commit is contained in:
parent
a604bf9476
commit
3bc9419e3f
@ -71,6 +71,7 @@ UOJEOF
|
||||
usermod -d /var/lib/mysql/ mysql
|
||||
cat >/etc/mysql/mysql.conf.d/uoj_mysqld.cnf <<UOJEOF
|
||||
[mysqld]
|
||||
default-time-zone='+8:00'
|
||||
character-set-server=utf8
|
||||
collation-server=utf8_unicode_ci
|
||||
init_connect='SET NAMES utf8'
|
||||
|
Loading…
Reference in New Issue
Block a user