What is Moment.js?
Using Moment.js in kintone
You can utilize the Moment.js library in kintone by specifying the library link listed in the kintone CDN.
For example, you can specify one of the following urls to use Moment.js:
Read through this article on how to specify libraries listed on the CDN through your kintone app.
How to Use Moment.js
By using Moment.js like this, you can easily manipulate date formats.
For more information on how to use the Moment.js library, refer to their docs.
Using Moment.js on a Record List
Let’s try to customize kintone's Record List with Moment.js.
The code will replace the text of the specified fields, with texts such as "xx hours ago" and "xx days ago".