mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Port all time-related functions to new timezone handling system
This commit is contained in:
parent
d5ba13d7e1
commit
c27da2ed24
5 changed files with 68 additions and 34 deletions
|
|
@ -163,7 +163,7 @@ class installController extends install
|
|||
}
|
||||
else
|
||||
{
|
||||
$user_timezone = intval(get_time_zone_offset($time_zone ?: '+0900') / 3600);
|
||||
$user_timezone = intval(Rhymix\Framework\DateTime::getTimezoneOffsetByLegacyFormat($time_zone ?: '+0900') / 3600);
|
||||
switch ($user_timezone)
|
||||
{
|
||||
case 9:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue