lib/toml/monkey_patch.rb in toml-0.2.0 vs lib/toml/monkey_patch.rb in toml-0.3.0

- old
+ new

@@ -80,8 +80,8 @@ class Numeric def to_toml(path = ""); self.to_s; end end class DateTime def to_toml(path = "") - self.to_time.utc.strftime("%Y-%m-%dT%H:%M:%SZ") + self.rfc3339 end end