Wetter und Forecast Plugin auf forecast.io (by @iCON)

This commit is contained in:
2016-02-16 18:53:15 +01:00
parent 8412921315
commit b1db1af73f
6 changed files with 393 additions and 109 deletions

View File

@ -210,6 +210,7 @@ function create_cred()
derpibooru_apikey = "",
fb_access_token = "",
flickr_apikey = "",
forecastio_apikey = "",
ftp_site = "",
ftp_username = "",
ftp_password = "",

View File

@ -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