# new duration() Extends moment.js' Duration class. Source: utils/date.js, line 1038 Methods # format() → {string} Gets the display string for this duration. Note: It only supports days, hours, and minutes. Source: utils/date.js, line 1054 Returns: This duration formatted as a human-readable string. (eg. '8 minutes'). Type string