From 51bc992822f9108ad64de32d300e1cefd0e2da59 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 24 Mar 2025 15:43:40 +0900 Subject: [PATCH] [Bug #21141] [DOC] Refine description of `Time#utc?` --- time.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/time.c b/time.c index 48eb4d7b04..825175f245 100644 --- a/time.c +++ b/time.c @@ -4020,13 +4020,16 @@ time_eql(VALUE time1, VALUE time2) * # => 2000-01-01 20:15:01 UTC * utc.utc? # => true * - * Note that only +Time+ objects created with these methods - * considered in UTC: + * +Time+ objects created with these methods are considered to be in + * UTC: * * * Time.utc * * Time#utc * * Time#getutc * + * Objects created in other ways will not be treated as UTC even if + * the environment variable "TZ" is "UTC". + * * Related: Time.utc. */