Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Duration): add format method #60

Merged
merged 2 commits into from
May 22, 2024
Merged

feat(Duration): add format method #60

merged 2 commits into from
May 22, 2024

Conversation

ValeraS
Copy link
Collaborator

@ValeraS ValeraS commented May 21, 2024

Closes #59

@ValeraS ValeraS force-pushed the feat/durationToFormat branch from 5c1bef1 to 6b42d07 Compare May 21, 2024 10:38
@ValeraS ValeraS requested a review from korvin89 May 22, 2024 08:44
@@ -201,18 +201,25 @@ export function shiftTo(
const i = Math.trunc(own);
newValues[unit] = i;
accumulated[unit] = (own * 1000 - i * 1000) / 1000;
// console.log(newValues, accumulated);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

console.log

@ValeraS ValeraS merged commit aa0af56 into main May 22, 2024
2 checks passed
@ValeraS ValeraS deleted the feat/durationToFormat branch May 22, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

duration format is not supported
2 participants