fix
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 26s

This commit is contained in:
2025-04-29 10:21:00 +02:00
parent 4b6de48764
commit 30a3d18277

View File

@@ -55,3 +55,10 @@ func (t *OCSSTime) UnmarshalBSONValue(bt bsontype.Type, b []byte) error {
*t = OCSSTime(datetime)
return nil
}
func (t *OCSSTime) Format(format string) string {
if format == "" {
return ""
}
return t.ToTime().Format(format)
}