diff options
author | Michael Lehenbauer <mikelehen@gmail.com> | 2018-04-12 09:08:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-12 09:08:18 -0700 |
commit | 6f2ef7d3899f05dae7eb03847d8dddf9b04a7738 (patch) | |
tree | 690f179be9097ed3df9bfeb5ddb59ebcc1ab6299 /Firestore/Protos/protos/google/protobuf/timestamp.proto | |
parent | 74411e5739237e70fd62c8364626c17ec37ed595 (diff) |
Update protos. (#1075)
Diffstat (limited to 'Firestore/Protos/protos/google/protobuf/timestamp.proto')
-rw-r--r-- | Firestore/Protos/protos/google/protobuf/timestamp.proto | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Firestore/Protos/protos/google/protobuf/timestamp.proto b/Firestore/Protos/protos/google/protobuf/timestamp.proto index b7cbd17..eafb3fa 100644 --- a/Firestore/Protos/protos/google/protobuf/timestamp.proto +++ b/Firestore/Protos/protos/google/protobuf/timestamp.proto @@ -103,7 +103,9 @@ option objc_class_prefix = "GPB"; // {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional // seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), // are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone -// is required, though only UTC (as indicated by "Z") is presently supported. +// is required. A proto3 JSON serializer should always use UTC (as indicated by +// "Z") when printing the Timestamp type and a proto3 JSON parser should be +// able to accept both UTC and other timezones (as indicated by an offset). // // For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past // 01:30 UTC on January 15, 2017. @@ -114,8 +116,8 @@ option objc_class_prefix = "GPB"; // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one // can use the Joda Time's [`ISODateTimeFormat.dateTime()`]( -// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()) -// to obtain a formatter capable of generating timestamps in this format. +// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime-- +// ) to obtain a formatter capable of generating timestamps in this format. // // message Timestamp { |