[Bug #20951] [DOC] About UTC offset calculation after utc_to_local

This commit is contained in:
Nobuyoshi Nakada 2024-12-15 16:57:24 +09:00
parent a2e4100472
commit 966458199d
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -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.