データベースの日時フィールドで FOS エラスティカの検索結果を並べ替えています。
Elastica.yml には、マッピングに設定された次のプロパティがあります。
startsAt: { タイプ: 日付, フォーマット: Ymd H:i:s }
しかし、移入すると、次のようになります。
[Elastica\Exception\ResponseException]
MapperParsingException[mapping [soccer]]; nested: IllegalArgumentException[Invalid format: [Y-m-d H:i:s]: Illegal pattern component: i]; nested: IllegalArgumentExcept
ion[Illegal pattern component: i];
その日時フィールドでエラスティカの結果を検索できるように、正しい形式を指定するにはどうすればよいですか?