aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/date
diff options
context:
space:
mode:
authorAlexey Vakhov <vakhov@gmail.com>2012-05-25 17:00:51 +0400
committerAlexey Vakhov <vakhov@gmail.com>2012-05-25 17:02:31 +0400
commita1a16de49bd223086002a4dab899ed441bb9c956 (patch)
tree5a0527c46a7f8ab12aa55d95e47958346e93e1da /activesupport/lib/active_support/core_ext/date
parent852ff786e2b1d5bf4d66b9025df9b6d93abb2c98 (diff)
downloadrails-a1a16de49bd223086002a4dab899ed441bb9c956.tar.gz
rails-a1a16de49bd223086002a4dab899ed441bb9c956.tar.bz2
rails-a1a16de49bd223086002a4dab899ed441bb9c956.zip
Clean Date#beginning_of_month description
Unnecessary peace of text was injected at 507da04a149b44e20c5a0ba72a218fe1762b6baf by mistake.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/date')
-rw-r--r--activesupport/lib/active_support/core_ext/date/calculations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/date/calculations.rb b/activesupport/lib/active_support/core_ext/date/calculations.rb
index 3e36c54eba..8a7eb6bc6b 100644
--- a/activesupport/lib/active_support/core_ext/date/calculations.rb
+++ b/activesupport/lib/active_support/core_ext/date/calculations.rb
@@ -202,7 +202,7 @@ class Date
acts_like?(:time) ? result.change(:hour => 0) : result
end
- # Returns a new ; DateTime objects will have time set to 0:00DateTime representing the start of the month (1st of the month; DateTime objects will have time set to 0:00)
+ # Returns a new Date/DateTime representing the start of the month (1st of the month; DateTime objects will have time set to 0:00)
def beginning_of_month
acts_like?(:time) ? change(:day => 1, :hour => 0) : change(:day => 1)
end