Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
546 views
in Technique[技术] by (71.8m points)

javascript - 使用MomentJS在表reactjs中使用多个倒数计时器(Multiple countdown timer in Table reactjs using momentjs)

I have a table with a column of countdown timer like in the mockup below.

(我有一个带有倒数计时器列的表格,如下面的模型所示。)

I'm using AntDesign table component and momentjs.

(我正在使用AntDesign表组件和momentjs。)

How can I get the remaining time of today - dateDue ?

(如何获得today - dateDue的剩余时间today - dateDue ?)

dateDue value in API is something like this

(API中的dateDue值是这样的)

2019-12-27 05:15:27 PM

在此处输入图片说明

  ask by Alyssa Reyes translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...