我有[type] => mapper_parsing_exception
[reason] => failed to parse [prod_added_on]
[caused_by] => Array(
[type] => illegal_argument_exception
[reason] => Invalid format: "2010-12-27 07:15:06" /* is malformed at */ "10-12-27 07:15:06"
)
格式。
'date' => [
'type' => 'date',
'format' => 'yyyy-MM-dd HH:mm:ss'
],
以下是我的代码来映射日期
{
"database": {
"rules": "database.rules.json"
},
"hosting": {
"public": "build",
"rewrites": [
{
"source": "**",
"destination": "/index.html"
},
{
"source": "/details/**",
"function": "details"
}
]
}
}