iamkun / iamkun/dayjs

Manipulating days with decimal numbers ignores hours

Open
#2,013 8 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When manipulating a date with unit type `day` and an arbitrary decimal number does not manipulate the time of the date.

**Expected behavior**
The time is manipulated as well.

**Information**
Stackblitz reproduction:
https://stackblitz.com/edit/js-akaprq?file=index.js

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.