Date.now() instead of new Date().getTime() used

This commit is contained in:
svetlagasheva 2020-04-30 15:55:28 +03:00
parent 0c0e34f0b5
commit 60d9f5266c

View file

@ -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,