From 2ee33e6c56289642f61b99d125555559cda36f95 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sun, 8 Oct 2017 18:34:43 +0900 Subject: Fix default of `String#to_time` [ci skip] The default of `String#to_time` is `:local` since b79adc4. --- guides/source/active_support_core_extensions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md index ae573cc77c..067a7b7cb6 100644 --- a/guides/source/active_support_core_extensions.md +++ b/guides/source/active_support_core_extensions.md @@ -1752,7 +1752,7 @@ The methods `to_date`, `to_time`, and `to_datetime` are basically convenience wr "2010-07-27 23:42:00".to_time(:local) # => 2010-07-27 23:42:00 +0200 ``` -Default is `:utc`. +Default is `:local`. Please refer to the documentation of `Date._parse` for further details. -- cgit v1.2.3