diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-03-24 15:43:40 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-03-24 15:43:40 +0900 |
| commit | 51bc992822f9108ad64de32d300e1cefd0e2da59 (patch) | |
| tree | 7f1744428d6a865798a897809b5788b7eea55036 | |
| parent | c5f30e9567af587f91676cb49eacf3fe70146811 (diff) | |
[Bug #21141] [DOC] Refine description of `Time#utc?`
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12972
| -rw-r--r-- | time.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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. */ |
