mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-22 02:47:40 +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
|
||||
),
|
||||
upcoming: new Date(video.released).getTime() > new Date().getTime(),
|
||||
upcoming: Date.parse(video.released) > Date.now(),
|
||||
// TODO add watched and progress
|
||||
deepLinks: deepLinking.withVideo({
|
||||
video,
|
||||
|
|
|
|||
Loading…
Reference in a new issue