refactored CosmicDawn importer - now working!
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user