Prevent splitting of non-existing exact dates (e.g. 31.04.XXXX)

Close #35
This commit is contained in:
2025-04-08 03:48:04 +02:00
parent dba60dbce6
commit 00638152cf
2 changed files with 30 additions and 3 deletions

View File

@ -550,6 +550,9 @@ final class NodaTimeSplitterTest extends TestCase {
];
foreach ([
"30.02.2024",
"31.11.2024",
"31.4.2024",
"1.2.2020-2.2.2020",
"2020 Januar 2-2020 Februar 2",
"2020 Januar-2020 Februar",