| Index: service/datastore/properties.go
|
| diff --git a/service/datastore/properties.go b/service/datastore/properties.go
|
| index 8ce5970def31e1939b3f69638c85bfca264e00de..aa8dcdf0f149f15d6cfd2348b9ad4c6400f94c7a 100644
|
| --- a/service/datastore/properties.go
|
| +++ b/service/datastore/properties.go
|
| @@ -206,7 +206,7 @@ func PropertyTypeOf(v interface{}, checkValid bool) (PropertyType, error) {
|
| if checkValid && (x.Before(minTime) || x.After(maxTime)) {
|
| err = errors.New("time value out of range")
|
| }
|
| - if checkValid && x.Location() != time.UTC {
|
| + if checkValid && !x.Equal(x.In(time.UTC)) {
|
| err = fmt.Errorf("time value has wrong Location: %s", x.Location())
|
| }
|
| return PTTime, err
|
|
|