Closed agungwiseso closed 7 years ago
Hi, I have a code like this, Why I got 11845D? without Hours, Minutes, and Seconds?
var shortEnglishHumanizer = humanizeDuration.humanizer({ language: 'shortEn', delimiter: ', ', spacer: '', units: ['d', 'h', 'm', 's'], languages: { shortEn: { d: function(v) { return 'd' }, h: function(v) { return 'h' }, m: function(v) { return 'm' }, s: function(v) { return 's' }, } } }) value = shortEnglishHumanizer(1023408000000)
I believe 1,023,408,000,000 milliseconds evenly comes out to 11,845 days. Try changing your input to see other values.
@agungwiseso Did that fix your problem?
Hi, Yes, i have fixed it. Thanks for your reply.
Hi, I have a code like this, Why I got 11845D? without Hours, Minutes, and Seconds?