diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-13 15:59:03 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-13 15:59:03 +0900 |
commit | 44a6a13cbe8ead29a5d62f1f3d49343aab946f5e (patch) | |
tree | 8da52d98b0788a4dff415b344e1a0483920f736d /doc | |
parent | 952de171c01cb1e96245bc0263884dd8655fd644 (diff) |
[DOC] Fix Timezone Objects description
From the beginning when Timezone object support was introduced,
Timezone objects are allowed everywhere offset strings are allowed.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/timezones.rdoc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/doc/timezones.rdoc b/doc/timezones.rdoc index c3aae88fde..3e2122b43e 100644 --- a/doc/timezones.rdoc +++ b/doc/timezones.rdoc @@ -57,13 +57,7 @@ in the range <tt>-86399..86399</tt>: ==== Timezone Objects -In most cases, the zone value may be an object -responding to certain timezone methods. - -\Exceptions (timezone object not allowed): - -- Time.new with positional argument +zone+. -- Time.now with keyword argument +in:+. +The zone value may be an object responding to certain timezone methods. The timezone methods are: |