aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2017-04-17 21:57:00 -0400
committerJon Moss <me@jonathanmoss.me>2017-04-17 21:57:00 -0400
commit0d208e02f6b90fd3d61da60e58854b9fdd8eeb1d (patch)
tree077386f09c275e285a432670ac4fece77c56852f /activesupport/lib
parenta192e5f786aec68ff0b44187c339f9d94e831569 (diff)
downloadrails-0d208e02f6b90fd3d61da60e58854b9fdd8eeb1d.tar.gz
rails-0d208e02f6b90fd3d61da60e58854b9fdd8eeb1d.tar.bz2
rails-0d208e02f6b90fd3d61da60e58854b9fdd8eeb1d.zip
Add missing periods
[ci skip]
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/core_ext/date/conversions.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/date/conversions.rb b/activesupport/lib/active_support/core_ext/date/conversions.rb
index c6c30aa835..0f59c754fe 100644
--- a/activesupport/lib/active_support/core_ext/date/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/date/conversions.rb
@@ -80,8 +80,8 @@ class Date
#
# date.to_time(:utc) # => 2007-11-10 00:00:00 UTC
#
- # NOTE: The :local timezone is Ruby's *process* timezone, i.e. ENV['TZ']
- # If the *application's* timezone is needed, then use +in_time_zone+ instead
+ # NOTE: The :local timezone is Ruby's *process* timezone, i.e. ENV['TZ'].
+ # If the *application's* timezone is needed, then use +in_time_zone+ instead.
def to_time(form = :local)
raise ArgumentError, "Expected :local or :utc, got #{form.inspect}." unless [:local, :utc].include?(form)
::Time.send(form, year, month, day)