Seitenumbrüche und Weißraum FIX

This commit is contained in:
Simon Martens
2025-04-14 17:41:54 +02:00
parent 113a084f50
commit 8b5805e038
9 changed files with 317 additions and 89 deletions

View File

@@ -22,18 +22,22 @@ func (d *Date) Sort() *xmlparsing.XSDDate {
if d.NotBefore.Validate() {
return &d.NotBefore
}
if d.From.Validate() {
return &d.From
}
if d.When.Validate() {
return &d.When
}
if d.To.Validate() {
return &d.To
}
if d.NotAfter.Validate() {
return &d.NotAfter
}
if d.To.Validate() {
return &d.To
}
if d.When.Validate() {
return &d.When
}
if d.From.Validate() {
return &d.From
}
return nil
}