mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-20 08:35:17 +00:00
Complete countdown timer implementation
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user