locale of publish date fix
This commit is contained in:
1 parent
feb968a72e
commit
66df27cf0b
4 files changed
+15
-2
No files matched your search
@@ -324,8 +324,12 @@ namespace InvidiousContent
|
||||
else
|
||||
return Tr(Locale.RowCell.NWeeksAgo).Replace("^n", weeks.toStr())
|
||||
end if
|
||||
else if total_days > 1
|
||||
return Tr(Locale.RowCell.NDaysAgo).Replace("^n", total_days.toStr())
|
||||
else if total_days > 0
|
||||
if total_days = 1
|
||||
return Tr(Locale.RowCell.OneDayAgo)
|
||||
else
|
||||
return Tr(Locale.RowCell.NDaysAgo).Replace("^n", total_days.toStr())
|
||||
end if
|
||||
else if span > 3600
|
||||
hours = span \ 3600
|
||||
if hours = 1
|
||||
|
||||
Reference in new issue
Block a user