diff options
author | Andrew White <andrew.white@unboxed.co> | 2017-03-03 20:12:47 +0000 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2017-03-03 21:53:13 +0000 |
commit | 08e05d4a49c1ba1327e3e6821eba1f0c93361ab2 (patch) | |
tree | c69d4fe566ad5d0c86f31220aeba05e6710682b4 /activesupport/lib/active_support/core_ext/big_decimal | |
parent | f61062c70f27059375a927caadfee458b7037c20 (diff) | |
download | rails-08e05d4a49c1ba1327e3e6821eba1f0c93361ab2.tar.gz rails-08e05d4a49c1ba1327e3e6821eba1f0c93361ab2.tar.bz2 rails-08e05d4a49c1ba1327e3e6821eba1f0c93361ab2.zip |
Add `Time.rfc3339` parsing method
The `Time.xmlschema` and consequently its alias `iso8601` accepts
timestamps without a offset in contravention of the RFC 3339
standard. This method enforces that constraint and raises an
`ArgumentError` if it doesn't.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/big_decimal')
0 files changed, 0 insertions, 0 deletions