mirror of
https://github.com/iv-org/invidious.git
synced 2025-02-24 08:18:22 -06:00
Formatting
This commit is contained in:
parent
69ff6def5f
commit
e8cd631b2d
@ -38,7 +38,7 @@ def parse_related_video(related : JSON::Any) : Hash(String, JSON::Any)?
|
|||||||
|
|
||||||
if published_time_text = related["publishedTimeText"]?
|
if published_time_text = related["publishedTimeText"]?
|
||||||
decoded_time = decode_date(published_time_text["simpleText"].to_s)
|
decoded_time = decode_date(published_time_text["simpleText"].to_s)
|
||||||
published = decoded_time.to_unix.to_s
|
published = decoded_time.to_unix.to_s
|
||||||
else
|
else
|
||||||
published = nil
|
published = nil
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user