fixed failing tests

This commit is contained in:
jstaerk
2025-03-03 11:21:09 +01:00
parent 8da541656a
commit f870e2a476

View File

@@ -130,6 +130,9 @@ public class XMLTools extends XMLWriter {
*/
public static Date tryDate(String toParse) {
SimpleDateFormat formatter = null;
if (toParse==null) {
return null;
}
if (toParse.contains("-")) {
// from ubl
formatter = new SimpleDateFormat("yyyy-MM-dd");