replace %T with %H:%M:%S

See https://gitlab.com/4w/mtimer/issues/7
This commit is contained in:
Dirk Sohler
2019-03-12 21:41:53 +01:00
parent b6db7ce7f8
commit a465d0d989

View File

@ -93,8 +93,8 @@ local get_real_time_universal = function (player_name, time_type)
local values = {
times = {
server_time = os.date('%Y-%m-%dT%T', server_timestamp),
local_time = os.date('!%Y-%m-%dT%T', local_timestamp),
server_time = os.date('%Y-%m-%dT%H:%M:%S', server_timestamp),
local_time = os.date('!%Y-%m-%dT%H:%M:%S', local_timestamp),
offset = timezone_offset,
},
variables = {