1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-22 05:19:22 +00:00

Complete countdown timer implementation

This commit is contained in:
Pierre HUBERT 2020-03-25 08:34:04 +01:00
parent 50c6d8d0c2
commit 7411855644

View File

@ -100,10 +100,10 @@ export class PostsHelper {
// Movies post // Movies post
idvideo: p.hasMovie ? p.movieID : null, idvideo: p.hasMovie ? p.movieID : null,
// Countdown timer (TODO : implement) // Countdown timer
jour_fin: null, jour_fin: p.hasTimeEnd ? new Date(p.timeEnd*1000).getDate() : null,
mois_fin: null, mois_fin: p.hasTimeEnd ? new Date(p.timeEnd*1000).getMonth() +1 : null,
annee_fin: null, annee_fin: p.hasTimeEnd ? new Date(p.timeEnd*1000).getFullYear() : null,
time_end: p.hasTimeEnd ? p.timeEnd : null, time_end: p.hasTimeEnd ? p.timeEnd : null,
// Weblink // Weblink