We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Time#utc?
1 parent bd99a2e commit 5ab0b91Copy full SHA for 5ab0b91
time.c
@@ -4012,13 +4012,16 @@ time_eql(VALUE time1, VALUE time2)
4012
* # => 2000-01-01 20:15:01 UTC
4013
* utc.utc? # => true
4014
*
4015
- * Note that only +Time+ objects created with these methods
4016
- * considered in UTC:
+ * +Time+ objects created with these methods are considered to be in
+ * UTC:
4017
4018
* * Time.utc
4019
* * Time#utc
4020
* * Time#getutc
4021
4022
+ * Objects created in other ways will not be treated as UTC even if
4023
+ * the environment variable "TZ" is "UTC".
4024
+ *
4025
* Related: Time.utc.
4026
*/
4027
0 commit comments