to_time() public

A TimeWithZone acts like a Time, so just return self.

Show source
Register or log in to add new notes.
November 24, 2012 - (>= v3.1.0)
0 thanks

Actually one can see from the source that it just calls utc

From utc:

Returns a Time or DateTime instance that represents the time in UTC.

Seems to have changed in 3.1.0