diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-12-15 16:57:24 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-12-15 16:57:24 +0900 |
commit | 966458199d870b88b42898d4a063b487c1ef6b00 (patch) | |
tree | a8418a5ecdae71c57465a4f24dcba07dbeff82ce | |
parent | a2e4100472fd50a61162eaec35ce558fdcc1fe83 (diff) |
[Bug #20951] [DOC] About UTC offset calculation after `utc_to_local`
-rw-r--r-- | doc/_timezones.rdoc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/_timezones.rdoc b/doc/_timezones.rdoc index 94dbd8eeb9..e355d699b4 100644 --- a/doc/_timezones.rdoc +++ b/doc/_timezones.rdoc @@ -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. |