mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-27 22:03:03 +00:00
Date.now() instead of new Date().getTime() used
This commit is contained in:
parent
0c0e34f0b5
commit
60d9f5266c
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ const mapMetaDetailsStateWithCtx = (meta_details, ctx) => {
|
||||||
:
|
:
|
||||||
NaN
|
NaN
|
||||||
),
|
),
|
||||||
upcoming: new Date(video.released).getTime() > new Date().getTime(),
|
upcoming: Date.parse(video.released) > Date.now(),
|
||||||
// TODO add watched and progress
|
// TODO add watched and progress
|
||||||
deepLinks: deepLinking.withVideo({
|
deepLinks: deepLinking.withVideo({
|
||||||
video,
|
video,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue