You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Resources/doc/columns_configuration/types/date_column.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Date Column
2
2
===========
3
3
4
-
The Date Column extends the [DateTime Column](datetime_column.md) and the default fallback format is`Y-m-d`.
4
+
The Date Column extends the [DateTime Column](datetime_column.md) and the default fallback format and filter input format are`Y-m-d`.
5
5
6
6
With this column, the time part of a datetime value is ignored when you filter the column.
7
7
So, if you filter the column with the value `2012-04-26` or `2012-04-26 12:23:45` and with the operator `=`, the query will be `date >= '2012-04-26 0:00:00' AND date <= '2012-04-26 23:59:59'`.
Copy file name to clipboardExpand all lines: Resources/doc/columns_configuration/types/datetime_column.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@ See [Column annotation for properties](../annotations/column_annotation_property
15
15
|:--:|:--|:--|:--|:--|
16
16
|format|string|||Define this attribute if you want to force the format of the displayed value.<br />(e.g. "Y-m-d H:i:s")|
17
17
|timezone|string|System default timezone||The timezone to use for rendering.<br />(e.g. "Europe/Paris")|
18
+
|inputFormat|string|"Y-m-d H:i:s"||Define this attribute if you want to force the format of the filtered value.<br />(e.g. "Y-m-d H:i:s")|
19
+
20
+
**Note**: If you want to filter using date input (and not datetime input), you should use the [Date Column](date_column.md) type instead and configure the display format to render the time (e.g. "Y-m-d H:i:s").
0 commit comments