du kannst mich mal!
This commit is contained in:
parent
8b5413808b
commit
6eb401d586
@ -3,7 +3,7 @@ local bot = {}
|
|||||||
bindings = require('otouto.bindings')
|
bindings = require('otouto.bindings')
|
||||||
utilities = require('otouto.utilities')
|
utilities = require('otouto.utilities')
|
||||||
|
|
||||||
bot.version = '2.2.5.1b'
|
bot.version = '2.2.5.1c'
|
||||||
|
|
||||||
function bot:init(config) -- The function run when the bot is started or reloaded.
|
function bot:init(config) -- The function run when the bot is started or reloaded.
|
||||||
cred_data = load_cred()
|
cred_data = load_cred()
|
||||||
|
@ -69,7 +69,7 @@ function time:get_time(coords)
|
|||||||
utcoff = utilities.pretty_float(utcoff)
|
utcoff = utilities.pretty_float(utcoff)
|
||||||
end
|
end
|
||||||
-- "%A, %d. %B %Y, %H:%M:%S Uhr"
|
-- "%A, %d. %B %Y, %H:%M:%S Uhr"
|
||||||
local time_there = os.date('!%A, %d. %B %Y, %H:%M:%S Uhr',timestamp)
|
local time_there = time:localize(os.date('!%A, %d. %B %Y, %H:%M:%S Uhr',timestamp))
|
||||||
local output = timezoneid..':\n'..time_there
|
local output = timezoneid..':\n'..time_there
|
||||||
|
|
||||||
return output..'\n_'..jdat.timeZoneName .. ' (UTC' .. utcoff .. ')_', place, time_there
|
return output..'\n_'..jdat.timeZoneName .. ' (UTC' .. utcoff .. ')_', place, time_there
|
||||||
|
Reference in New Issue
Block a user