Handle search with on timestamp

PHRAS-689
This commit is contained in:
Mathieu Darse
2015-11-10 18:36:29 +01:00
parent 5dc1fbe2cb
commit 0cd9933ac6
7 changed files with 92 additions and 6 deletions

View File

@@ -22,6 +22,7 @@ class Mapping
const DATE_FORMAT_MYSQL = 'yyyy-MM-dd HH:mm:ss';
const DATE_FORMAT_CAPTION = 'yyyy/MM/dd'; // ES format
const DATE_FORMAT_MYSQL_OR_CAPTION = 'yyyy-MM-dd HH:mm:ss||yyyy/MM/dd';
const DATE_FORMAT_CAPTION_PHP = 'Y/m/d'; // PHP format
// Core types