mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-14 04:26:29 +00:00
Fix warnings in Crystal 0.29
This commit is contained in:
@@ -973,7 +973,7 @@ def extract_polymer_config(body, html)
|
||||
if published
|
||||
params["published"] = Time.parse(published, "%b %-d, %Y", Time::Location.local).to_unix.to_s
|
||||
else
|
||||
params["published"] = Time.new(1990, 1, 1).to_unix.to_s
|
||||
params["published"] = Time.utc(1990, 1, 1).to_unix.to_s
|
||||
end
|
||||
|
||||
params["description_html"] = "<p></p>"
|
||||
|
||||
Reference in New Issue
Block a user