Open Aiphira opened 7 years ago
Hi hi! So, I don't know much about coding, so I am having some problems/questions.
Right now, I am using a different countdown that does what I expect it to and it is timezone aware, that I need and it uses MomentJS to achieve this.
Currently, it goes like this, for exmaple:
var item58Add = moment.tz("2018-08-25 01:00", "Europe/Vilnius"); var currTime = new Date();
$('#countdowni58').countdown(item58Add.toDate()) .on('update.countdown', function(event) { $(this).html(event.strftime('%D:%H:%M:%S')); }) .on('finish.countdown',function(event) { $(this).html("<div class='after_finish'>Item has been added!!</div>"); });
But, I loved this countdown because of it's animation/styling. Soo, my question: how do I use MomentJS with TimeCircles?
Hi hi! So, I don't know much about coding, so I am having some problems/questions.
Right now, I am using a different countdown that does what I expect it to and it is timezone aware, that I need and it uses MomentJS to achieve this.
Currently, it goes like this, for exmaple:
But, I loved this countdown because of it's animation/styling. Soo, my question: how do I use MomentJS with TimeCircles?