diff --git a/lib/src/kdbx_xml.dart b/lib/src/kdbx_xml.dart index 80f3dcf..bcee3f5 100644 --- a/lib/src/kdbx_xml.dart +++ b/lib/src/kdbx_xml.dart @@ -254,6 +254,10 @@ class DateTimeUtcNode extends KdbxSubTextNode { if (value == null) { return null; } + if (value.isEmpty) { + _logger.warning('time contains empty string. $name'); + return null; + } try { if (value.contains(':')) { return DateTime.parse(value);