HomePhabricator

Improve ISO 8601 support in setTimestamp()
f30fcd07021bUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Improve ISO 8601 support in setTimestamp()

Accept non-Z timezones and accept comma as a decimal separator.

Non-four-digit years, reduced accuracy formats, week numbers, and
ordinal dates remain unsupported.

Bug: T144482
Change-Id: I4fc5dbf32dc6cbbcda80f53d4b9c76f5d01e9086

Details

Provenance
AnomieAuthored on May 23 2019, 5:23 PM
Parents
R1985:f79a68e49132: Honor timezones in input, and correct some odd accepted values
Branches
Unknown
Tags
Unknown
References
refs/changes/01/512201/2
ChangeId
I4fc5dbf32dc6cbbcda80f53d4b9c76f5d01e9086