Sha256: 5bb31b255748f0fd548af3e230f25a1e591445210f9fa9163452b978d4b6ee58
Contents?: true
Size: 175 Bytes
Versions: 24
Compression:
Stored size: 175 Bytes
Contents
module Unit module Types class DateTime def self.cast(value) return nil if value.nil? ::DateTime.parse(value).iso8601 end end end end
Version data entries
24 entries across 24 versions & 1 rubygems