mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Convert time to UTC, add to OpenAPI (#9924)
* Add time type to OpenAPI. * Fix documentation and convert returned time to UTC. * changelog++ * Vendor the SDK changes.
This commit is contained in:
@@ -231,7 +231,7 @@ func (d *FieldData) getPrimitive(k string, schema *FieldSchema) (interface{}, bo
|
||||
if err != nil {
|
||||
return nil, false, err
|
||||
}
|
||||
return time, true, nil
|
||||
return time.UTC(), true, nil
|
||||
}
|
||||
|
||||
case TypeCommaIntSlice:
|
||||
|
||||
Reference in New Issue
Block a user