diff options
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 0d2897d79d..cc23ceb02c 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,6 +1,6 @@ ## Rails 4.0.0 (unreleased) ## -* Change String#to_date to use Date.parse. This gives more consistant error +* Change `String#to_date` to use `Date.parse`. This gives more consistent error messages and allows the use of partial dates. "gibberish".to_date => Argument Error: invalid date @@ -8,8 +8,8 @@ *Kelly Stannard* -* It's now possible to compare Date, DateTime, Time and TimeWithZone with Infinity - This allows to create date/time ranges with one infinite bound. +* It's now possible to compare `Date`, `DateTime`, `Time` and `TimeWithZone` + with `Infinity`. This allows to create date/time ranges with one infinite bound. Example: range = Range.new(Date.today, Float::INFINITY) |