@cubedelement.com/realty-investor-timeline 5.5.0 → 5.5.1
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
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [5.5.1](https://github.com/kvernon/realty-investor-timeline/compare/v5.5.0...v5.5.1) (2026-01-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* boundary, date ([#73](https://github.com/kvernon/realty-investor-timeline/issues/73)) ([1ce43db](https://github.com/kvernon/realty-investor-timeline/commit/1ce43db993397760d2e41e207481f7999158282a))
|
|
7
|
+
|
|
1
8
|
# [5.5.0](https://github.com/kvernon/realty-investor-timeline/compare/v5.4.0...v5.5.0) (2025-12-21)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -5,7 +5,9 @@ const getNextExpire = (current, cacheExpireDate, advanceInMonths) => {
|
|
|
5
5
|
if (!current) {
|
|
6
6
|
return cacheExpireDate;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
const date = new Date(Date.UTC(current.getUTCFullYear(), current.getUTCMonth(), 1));
|
|
9
|
+
date.setUTCMonth(date.getUTCMonth() + advanceInMonths);
|
|
10
|
+
return date;
|
|
9
11
|
};
|
|
10
12
|
class ValueCache {
|
|
11
13
|
renewalInMonths;
|
|
@@ -7,7 +7,7 @@ exports.cloneDateUtc = void 0;
|
|
|
7
7
|
* @param [datePredicate]
|
|
8
8
|
*/
|
|
9
9
|
function cloneDateUtc(date, datePredicate) {
|
|
10
|
-
const result = new Date(Date.
|
|
10
|
+
const result = new Date(Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), 1));
|
|
11
11
|
result.setUTCDate(1);
|
|
12
12
|
result.setUTCHours(0);
|
|
13
13
|
result.setUTCMinutes(0);
|
package/package.json
CHANGED