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 c5f30e9 commit 51bc992Copy full SHA for 51bc992
time.c
@@ -4020,13 +4020,16 @@ time_eql(VALUE time1, VALUE time2)
4020
* # => 2000-01-01 20:15:01 UTC
4021
* utc.utc? # => true
4022
*
4023
- * Note that only +Time+ objects created with these methods
4024
- * considered in UTC:
+ * +Time+ objects created with these methods are considered to be in
+ * UTC:
4025
4026
* * Time.utc
4027
* * Time#utc
4028
* * Time#getutc
4029
4030
+ * Objects created in other ways will not be treated as UTC even if
4031
+ * the environment variable "TZ" is "UTC".
4032
+ *
4033
* Related: Time.utc.
4034
*/
4035
0 commit comments