to_s(format = :default)
Instance Public methods
:db format outputs time in UTC; all others output time in
local. Uses TimeWithZone's strftime, so %Z
and %z work correctly.
:db format outputs time in UTC; all others output time in
local. Uses TimeWithZone's strftime, so %Z
and %z work correctly.
Please login to continue.