From 0d208e02f6b90fd3d61da60e58854b9fdd8eeb1d Mon Sep 17 00:00:00 2001 From: Jon Moss Date: Mon, 17 Apr 2017 21:57:00 -0400 Subject: Add missing periods [ci skip] --- activesupport/lib/active_support/core_ext/date/conversions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport/lib') 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) -- cgit v1.2.3