mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-21 21:09:22 +00:00
Complete countdown timer implementation
This commit is contained in:
parent
50c6d8d0c2
commit
7411855644
@ -100,10 +100,10 @@ export class PostsHelper {
|
||||
// Movies post
|
||||
idvideo: p.hasMovie ? p.movieID : null,
|
||||
|
||||
// Countdown timer (TODO : implement)
|
||||
jour_fin: null,
|
||||
mois_fin: null,
|
||||
annee_fin: null,
|
||||
// Countdown timer
|
||||
jour_fin: p.hasTimeEnd ? new Date(p.timeEnd*1000).getDate() : null,
|
||||
mois_fin: p.hasTimeEnd ? new Date(p.timeEnd*1000).getMonth() +1 : null,
|
||||
annee_fin: p.hasTimeEnd ? new Date(p.timeEnd*1000).getFullYear() : null,
|
||||
time_end: p.hasTimeEnd ? p.timeEnd : null,
|
||||
|
||||
// Weblink
|
||||
|
Loading…
Reference in New Issue
Block a user