From e8cd631b2d5c07ab1d83e836838d96f9c25905cb Mon Sep 17 00:00:00 2001 From: RadoslavL Date: Fri, 16 Aug 2024 14:13:05 +0300 Subject: [PATCH] Formatting --- src/invidious/videos/parser.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr index 317a3bf3..73f8bbb0 100644 --- a/src/invidious/videos/parser.cr +++ b/src/invidious/videos/parser.cr @@ -38,7 +38,7 @@ def parse_related_video(related : JSON::Any) : Hash(String, JSON::Any)? if published_time_text = related["publishedTimeText"]? 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 published = nil end