Wetter und Forecast Plugin auf forecast.io (by @iCON)
This commit is contained in:
@ -210,6 +210,7 @@ function create_cred()
|
||||
derpibooru_apikey = "",
|
||||
fb_access_token = "",
|
||||
flickr_apikey = "",
|
||||
forecastio_apikey = "",
|
||||
ftp_site = "",
|
||||
ftp_username = "",
|
||||
ftp_password = "",
|
||||
|
@ -773,4 +773,10 @@ function is_blacklisted(msg)
|
||||
end
|
||||
end
|
||||
return var
|
||||
end
|
||||
end
|
||||
|
||||
function convert_timestamp(timestamp, format)
|
||||
local converted_date = run_command('date -d @'..timestamp..' +'..format)
|
||||
local converted_date = string.gsub(converted_date, '%\n', '')
|
||||
return converted_date
|
||||
end
|
Reference in New Issue
Block a user