Login required for access
In order to watch this lesson, you'll need to login to the website.
Moment Library From Now Date
Fullstack Social iOS NodeJS REST
In order to view this lesson, you must purchase this course.
Presenting time and dates in UI is always very difficult as locales and printing functions rarely play nicely together. Instead of using raw dates in the UI, let's go ahead and install Moment.js, a widely used javascript library that formats date in human readable language. In this lesson, we'll first examine how to stamp our objects with a fromNow property. Next we look at the proper way of refactoring our code to handle the importing of Moment.

Comments (0)
Please contact admin@letsbuildthatapp.com if you have any issues.