From b6973e4ffc8b762d2395470082179109f5bb2374 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 17 Dec 2024 10:10:26 +0900 Subject: [PATCH] [Bug #20951] [DOC] UTC offset in `utc_to_local` --- doc/_timezones.rdoc | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/_timezones.rdoc b/doc/_timezones.rdoc index e355d699b4..a2ac46584f 100644 --- a/doc/_timezones.rdoc +++ b/doc/_timezones.rdoc @@ -78,6 +78,7 @@ The timezone methods are: The UTC offset will be calculated as the difference between the 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]. Returns:: a {Time-like object}[rdoc-ref:Time@Time-Like+Objects] in the local timezone.