BUGFIX: notbefore/notafter case sensitive

This commit is contained in:
Simon Martens
2024-11-20 17:42:34 +01:00
parent 0aa0509471
commit a6ecafd153
2 changed files with 4 additions and 4 deletions

View File

@@ -33,8 +33,8 @@ namespace HaDocument.Models {
public AdditionalDates? AdditionalDates { get; } = null;
public int Order { get; } = -1;
public string Location { get; } = "";
public List<string> Senders { get; } = null;
public List<string> Receivers { get; } = null;
public List<string>? Senders { get; } = null;
public List<string>? Receivers { get; } = null;
public bool? hasOriginal { get; }
public bool? isProofread { get; }
public bool? isDraft { get; }

View File

@@ -103,8 +103,8 @@ namespace HaDocument.Reactors {
Order = res2;
AdditionalDates = new AdditionalDates(
GetDateTime(tag["notBefore"]),
GetDateTime(tag["notAfter"]),
GetDateTime(tag["notbefore"]),
GetDateTime(tag["notafter"]),
GetDateTime(tag["from"]),
GetDateTime(tag["to"]),
tag["cert"]