Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Calculator

0

91
Views
Moment.JS: fromNow() more accurate

I'm using moment.js to display times etc..., and I'm using moment(OBJECT).fromNow() for my coding. It just returns a generalized time like: 1 day ago instead of 20 hours and 4 minutes ago as an example.

I really dug through the documentation but I found nothing that would display .fromNow() more accurately.

7 months ago ยท Juan Pablo Isaza
Answer question
Find remote jobs