mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[Bug #20951] [DOC] About UTC offset calculation after utc_to_local
This commit is contained in:
parent
a2e4100472
commit
966458199d
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ The timezone methods are:
|
|||
keyword argument +in:+, and when Time#getlocal or Time#localtime is called
|
||||
with +tz+ as the value for positional argument +zone+.
|
||||
|
||||
The UTC offset will be calculated as the difference between the
|
||||
original time and the returned object as an +Integer+.
|
||||
|
||||
Argument:: a {Time-like object}[rdoc-ref:Time@Time-Like+Objects].
|
||||
Returns:: a {Time-like object}[rdoc-ref:Time@Time-Like+Objects] in the local timezone.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue