[Bug #21141] [DOC] Refine description of Time#utc?
This commit is contained in:
parent
c5f30e9567
commit
51bc992822
Notes:
git
2025-03-24 06:47:47 +00:00
7
time.c
7
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.
|
||||
*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user