mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 20:51:56 +00:00 
			
		
		
		
	Solution
This commit is contained in:
		| @@ -247,7 +247,7 @@ module Invidious::JSONify::APIv1 | ||||
|                 json.field "viewCount", rv["view_count"]?.try &.empty? ? nil : rv["view_count"].to_i64 | ||||
|                 json.field "published", rv["published"]? | ||||
|                 if !rv["published"].nil? | ||||
|                   json.field "publishedText", translate(locale, "`x` ago", recode_date(rv["published"], locale)) | ||||
|                   json.field "publishedText", translate(locale, "`x` ago", recode_date(Time.unix(rv["published"].to_i), locale)) | ||||
|                 else | ||||
|                   json.field "publishedText", translate(locale, "`x` ago", "NaN") | ||||
|                 end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 RadoslavL
					RadoslavL