Commit Graph
5 Commits
Author SHA1 Message Date
Kenneth Skovhede f0f68dfebf Fix locale-sensitive time parsing
On some locales, odd strings would parse as valid full dates, causing relative dates to be incorrectly calculated.

This commit fixes the issues and revisits the DST aware calculations with more tests.
2025-04-08 23:38:36 +02:00
Carl Johnsen dd888c2761 Pushed incorrect fix 2025-03-26 13:49:05 +01:00
Carl Johnsen 3e38139953 DateTime can sometimes be a local kind, which doesn't match with TimeSpan.Zero, which is in UTC, and DateTimeOffset requires that they match. 2025-03-26 13:45:50 +01:00
Kenneth SkovhedeandGitHub 9464caf622 Feature/update license 2025 (#5851)
* Fixed some minor whitespace issues

* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Kenneth Skovhede 74bb22e022 Implemented support for keeping time-of-day stable across daylight savings time changes.
This fixes #1364
2024-11-05 21:26:30 +01:00