question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Add Duration Plugin

See original GitHub issue

Update: DONE πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰

Duration https://day.js.org/docs/en/durations/durations

v1.8.24


Official duration plugin https://github.com/iamkun/dayjs/pull/858


Goal: to keep the same with moment.duration

  1. Parse ISO duration format #122
  2. Duration object to ISO string toISOString() #519
  3. Using Duration with Diff .duration(x.diff(y)) #414

ref: https://en.wikipedia.org/wiki/ISO_8601#Durations


IssueHunt Summary

iamkun iamkun has been rewarded.

Backers (Total: $116.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:39
  • Comments:24 (4 by maintainers)

github_iconTop GitHub Comments

19reactions
iamgbayercommented, Nov 27, 2019

Any news on this?

16reactions
Wyzix33commented, Aug 2, 2019

Any news on this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Duration
Duration adds .duration .isDuration APIs to support duration. var duration = require('dayjs/plugin/duration') dayjs.extend(duration) dayjs.duration(100).
Read more >
iamkun/dayjs: Feature request: Add Duration Plugin. #564
Feature request : Add Duration Plugin #564 Β· Parse ISO duration format #122 Β· Duration object to ISO string toISOString() #519 Β· Using...
Read more >
3 Best 'Feature Request' WordPress Plugins (2022)
IdeaPush is one of the best Feature Request WordPress plugins that allow you to add an incredible feature request or idea request system...
Read more >
[Plugin Feature Pages] Add Feature Request Polls to ...
There's no chance to (easily) vote for new features. You always have to go the long way and write to the support forum,...
Read more >
Feature request – installed/activated date
Just stumbled over this plugin, looks good (just replaced a plugin I was ... I was hoping you'd consider this feature request to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found