Skip to content

fixed bug with smaller scale diffIn methods#27

Merged
rogervila merged 3 commits intorogervila:mainfrom
toby-dixon:diff-in-methods-fix
Mar 4, 2026
Merged

fixed bug with smaller scale diffIn methods#27
rogervila merged 3 commits intorogervila:mainfrom
toby-dixon:diff-in-methods-fix

Conversation

@toby-dixon
Copy link
Contributor

Smaller scale diffIn methods (microseconds, seconds, minutes, hours) now use scale appropriate datetime properties to calculate their difference. Previously, all differences were calculated by days and then converted, meaning time differences between datetimes less than a day apart would return 0.

@rogervila rogervila merged commit 3e5c620 into rogervila:main Mar 4, 2026
0 of 6 checks passed
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.

2 participants