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:
Mark Gritter
2020-09-11 13:29:41 -05:00
committed by GitHub
parent 9596cffb8c
commit 534921363a
8 changed files with 33 additions and 4 deletions

View File

@@ -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: