mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2025-02-17 13:27:44 +00:00
lowercase mod to satisfy bsfmt
This commit is contained in:
parent
42f2c24217
commit
58f43f5353
@ -243,8 +243,8 @@ function getRelativeDayName(date) as string
|
||||
end if
|
||||
|
||||
' Check for Yesterday
|
||||
todayMidnight = now.AsSeconds() - (now.AsSeconds() MOD 86400)
|
||||
dateMidnight = date.AsSeconds() - (date.AsSeconds() MOD 86400)
|
||||
todayMidnight = now.AsSeconds() - (now.AsSeconds() mod 86400)
|
||||
dateMidnight = date.AsSeconds() - (date.AsSeconds() mod 86400)
|
||||
|
||||
if todayMidnight - dateMidnight = 86400
|
||||
return "yesterday"
|
||||
@ -266,8 +266,8 @@ function getDurationStringFromSeconds(seconds) as string
|
||||
minutes = seconds / 60.0
|
||||
|
||||
if minutes > 60
|
||||
hours = (minutes - (minutes MOD 60)) / 60
|
||||
minutes = minutes MOD 60
|
||||
hours = (minutes - (minutes mod 60)) / 60
|
||||
minutes = minutes mod 60
|
||||
end if
|
||||
|
||||
if hours > 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user