提交 7685ea20 编写于 作者: G Geoff Buesing

Hash::XML_TYPE_NAMES: no longer a need for a TimeWithZone entry; this class will now match "Time"

上级 c00f2d25
......@@ -28,8 +28,7 @@ def content_type
"FalseClass" => "boolean",
"Date" => "date",
"DateTime" => "datetime",
"Time" => "datetime",
"ActiveSupport::TimeWithZone" => "datetime"
"Time" => "datetime"
} unless defined?(XML_TYPE_NAMES)
XML_FORMATTING = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册