refactored CosmicDawn importer - now working!

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-01-01 20:01:40 +01:00
parent af4a06afc0
commit e0dde9aa9e
3 changed files with 78 additions and 35 deletions
@@ -92,7 +92,7 @@ public class Util {
}
public static Result<LocalDate> parseGermanDate(String s){
var match = GERMAN_DATE_PATTERN.matcher(s);
var match = GERMAN_DATE_PATTERN.matcher(" "+s+" ");
if (match.find()){
var day = Integer.parseInt(match.group(1));
var month = Integer.parseInt(match.group(2));