esnet / esnet/pond

Irregular durations are not supported (by design?)

Open
#117 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
211
Forks
42
PR merge metrics
No merged PRs in 30d

Description

From the duration code, it seems that irregular rollups are not supported (or maybe I'm being a bit naive).

The example shows:

```
* const p = duration({
* seconds: 2,
* minutes: 2,
* hours: 2,
* days: 2,
* weeks: 2,
* months: 2,
* years: 2
* });
```

Maybe months and years should be removed since it can be misleading?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.