Skip to content

Commit

Permalink
[DOC] Fix Timezone Objects description
Browse files Browse the repository at this point in the history
From the beginning when Timezone object support was introduced,
Timezone objects are allowed everywhere offset strings are allowed.
  • Loading branch information
nobu committed Nov 13, 2023
1 parent 952de17 commit 44a6a13
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions doc/timezones.rdoc
Expand Up @@ -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:

Expand Down

0 comments on commit 44a6a13

Please sign in to comment.