mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[Bug #20951] [DOC] UTC offset in utc_to_local
This commit is contained in:
parent
187b8fdb69
commit
b6973e4ffc
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ The timezone methods are:
|
||||||
|
|
||||||
The UTC offset will be calculated as the difference between the
|
The UTC offset will be calculated as the difference between the
|
||||||
original time and the returned object as an +Integer+.
|
original time and the returned object as an +Integer+.
|
||||||
|
If the object is in fixed offset, its +utc_offset+ is also counted.
|
||||||
|
|
||||||
Argument:: a {Time-like object}[rdoc-ref:Time@Time-Like+Objects].
|
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.
|
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