Sha256: 035f16b1791412603f99cfa9e34b015f2a8007cf986700f2d0eb409df68c17ca
Contents?: true
Size: 348 Bytes
Versions: 18
Compression:
Stored size: 348 Bytes
Contents
require "time" require "date" require "json" class Time def to_json iso8601(6).to_json end end class Date def to_json iso8601.to_json end end class DateTime def to_json iso8601(6).to_json end end if defined?(ActiveSupport) class ActiveSupport::TimeWithZone def to_json iso8601(6).to_json end end end
Version data entries
18 entries across 18 versions & 1 rubygems