mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-29 01:05:32 +00:00
Seitenumbrüche und Weißraum FIX
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user