You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
po [CBLJSON dateWithJSONObject:@"2015-03-25T07:59:42+00:00"];
2015-03-25 07:59:42 +0000
po [CBLJSON dateWithJSONObject:@"2015-03-25T07:59:42+0000"];
nil
The only difference here is the Time Zone Designator which changes from +00:00 to +0000. According to the ISO 8601 both designators are allowed.
It was expected that both po attempts should return the same date which does not happen.
I am using couchbase lite v1.0 from cocoapods pod 'couchbase-lite-ios', '~> 1.0'.
The text was updated successfully, but these errors were encountered:
I investigated a bit more and I found that couchbase seems more compliant with this W3C note that limits the scope of the ISO 8601 to a more restricted subset.
I tried the following in the Xcode command line
The only difference here is the Time Zone Designator which changes from +00:00 to +0000. According to the ISO 8601 both designators are allowed.
It was expected that both po attempts should return the same date which does not happen.
I am using couchbase lite v1.0 from cocoapods
pod 'couchbase-lite-ios', '~> 1.0'
.The text was updated successfully, but these errors were encountered: