These are chat archives for Automattic/mongoose

6th
Aug 2017
Tobi Rohmann
@toomaime_twitter
Aug 06 2017 12:35
Anyone here who knows how to transform the date with moment js? I have mongoose schema type date which gives me something like that Sun Aug 06 2017 14:32:41 GMT+0200 (CEST) -- I want to transform it then with moment js to xy min ago/ xy hours ago/ xy days ago based on that date. In which file do i use moment js to transform date? In app js?