Documentation is incorrect/confusing for Timestamp.parseTimestamp #4583
Labels
api: core
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The code currently in master is:
But if we look at the code for
org.threeten.bp.Instant.parse
:This implies to me that per the Google Cloud
Timestamp
documentation the following should work:Timestamp.parseTimestamp("2019-01-23T12:30:00")
But it generates:
It also would imply to me that the following shouldn't work:
Timestamp.parseTimestamp("2019-01-23T12:30:00Z")
The text was updated successfully, but these errors were encountered: