Accept an additional type of hyphen / dash in time splitting

This commit is contained in:
2025-03-10 03:58:45 +01:00
parent 5cce98f15b
commit 5b99304b5c
2 changed files with 3 additions and 3 deletions

View File

@ -160,11 +160,11 @@ final class NodaTimeSplitterTest extends TestCase {
"1945-2046",
],
"19302017" => [
"1930-2017",
"19302017",
new NodaSplitTime('1930', '2017',
start_date: '1930-01-01',
end_date: '2017-12-31'),
"1930-2017",
"19302017",
],
];