You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ago() function with short param, it will display "m" both for milliseconds and minutes. Example:
const date = new Date();
date.setMilliseconds(date.getMilliseconds() - 10);
timeago.ago(date, true); // Returns "10m"
const date2 = new Date();
date2.setMinutes(date2.getMinutes() - 10);
timeago.ago(date2, true); // Also returns "10m"
The text was updated successfully, but these errors were encountered:
djambrecina
changed the title
timeago.ago with short param returns the same output for milliseconds and minutes
timeago.ago() with short param returns the same output for milliseconds and minutes
Apr 10, 2019
When using
ago()
function with short param, it will display "m" both for milliseconds and minutes. Example:The text was updated successfully, but these errors were encountered: