Add subsec to `ActiveSupport::TimeWithZone#inspect`
Time.at(1498099140).in_time_zone.inspect => "Thu, 22 Jun 2017 02:39:00 UTC +00:00" Time.at(1498099140, 123456780, :nsec).in_time_zone.inspect => "Thu, 22 Jun 2017 02:39:00.12345678 UTC +00:00" Time.at(1498099140 + Rational("1/3")).in_time_zone.inspect => "Thu, 22 Jun 2017 02:39:00 1/3 UTC +00:00"
Showing
想要评论请 注册 或 登录