forked from Simnation/Main
Update server.lua
This commit is contained in:
parent
1d5356e5d7
commit
a4e439176f
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ end)
|
||||||
]]
|
]]
|
||||||
|
|
||||||
local function getBerlinTime()
|
local function getBerlinTime()
|
||||||
PerformHttpRequest("https://timeapi.io/api/Time/current/zone?timeZone=Europe/Berlin", function(statusCode, response, headers)
|
PerformHttpRequest("https://timeapi.io/api/Time/current/zone?timeZone=America/Los_Angeles", function(statusCode, response, headers)
|
||||||
if statusCode == 200 then
|
if statusCode == 200 then
|
||||||
local data = json.decode(response)
|
local data = json.decode(response)
|
||||||
if data and data.hour and data.minute then
|
if data and data.hour and data.minute then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue