Generate an RFC 3339 timestamp similar to Google Tasks API?

前端 未结 7 2173
时光取名叫无心
时光取名叫无心 2020-12-02 20:45

I am in the process of building an app that syncs with Google Tasks. As part part of the syncing, I want to compare the local task and the API task, and see which one has be

相关标签:
7条回答
  • 2020-12-02 21:14

    It looks more pretty: new Date().toISOString().split('.')[0] + 'Z'

    0 讨论(0)
提交回复
热议问题