@williamthorsen/toolbelt.datetime 4.0.2 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 4.0.3 — 2026-08-24
6
+
7
+ ### Dependency updates
8
+
9
+ - Bumped `@williamthorsen/toolbelt.numbers` to 7.0.1
10
+
5
11
  ## 4.0.2 — 2026-08-21
6
12
 
7
13
  ### Bug fixes
package/README.md CHANGED
@@ -2,17 +2,7 @@
2
2
 
3
3
  Date and time utilities.
4
4
 
5
- <!-- section:release-notes -->
6
- ## Release notes — v4.0.2 (2026-08-21)
7
-
8
- ### Bug fixes
9
-
10
- - Adopt `round` in `TimeUnit.convert` and repair its same-unit path (#192)
11
-
12
- Fixes an issue where `TimeUnit.convert` ignored both `decimalPlaces` and `throwOnFractional` whenever the source and target units were the same, returning the amount untouched.
13
-
14
- Separately, replaces the method's hand-rolled decimal rounding with `round` from `@williamthorsen/toolbelt.numbers/candidate`, which gives `datetime` its first runtime dependency.
15
- <!-- /section:release-notes -->
5
+ <!-- section:release-notes --><!-- /section:release-notes -->
16
6
 
17
7
  ## Installation
18
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williamthorsen/toolbelt.datetime",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "Date and time utilities",
5
5
  "keywords": [
6
6
  "date",
@@ -44,7 +44,7 @@
44
44
  "CHANGELOG.md"
45
45
  ],
46
46
  "dependencies": {
47
- "@williamthorsen/toolbelt.numbers": "7.0.0"
47
+ "@williamthorsen/toolbelt.numbers": "7.0.1"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=24.0.0"