Skip to content

Commit 9d9cd44

Browse files
plebcityKoen Konst
authored andcommitted
Refactored calendarfetcherutils to remove as many of the date conversions as possible and use moment tz when calculating recurring events, this will make debugging a lot easier and fixes problems from the past with offsets and DST not being handled properly. Also added some tests to test the behavior of the refactored methodes to make sure the correct event dates are returned
1 parent 302b24c commit 9d9cd44

File tree

3 files changed

+222
-422
lines changed

3 files changed

+222
-422
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ planned for 2025-07-01
3434
- [refactor] Replace `ansis` with built-in function `util.styleText` (#3793)
3535
- [core] Integrate stuff from `vendor` and `fonts` folders into main `package.json`, simplifies install and maintaining dependencies (#3795)
3636
- [l10n] Complete translations (with the help of translation tools) (#3794)
37+
- [refactor] Refactored `calendarfetcherutils` in Calendar module to handle timezones better
38+
- Removed as many of the date conversions as possible
39+
- Use `moment-timezone` when calculating recurring events, this will fix problems from the past with offsets and DST not being handled properly
40+
- Added some tests to test the behavior of the refactored methodes to make sure the correct event dates are returned
3741

3842
### Fixed
3943

0 commit comments

Comments
 (0)