File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
frontend/src/Editor/Components Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ export const DaterangePicker = function DaterangePicker({
26
26
const end = dates . endDate ;
27
27
28
28
if ( start ) {
29
- setExposedVariable ( 'startDate' , start . format ( formatProp . value ) ) ;
29
+ setExposedVariable ( 'startDate' , start . format ( formatProp ) ) ;
30
30
}
31
31
32
32
if ( end ) {
33
- setExposedVariable ( 'endDate' , end . format ( formatProp . value ) ) ;
33
+ setExposedVariable ( 'endDate' , end . format ( formatProp ) ) ;
34
34
}
35
35
36
36
setStartDate ( start ) ;
@@ -54,6 +54,7 @@ export const DaterangePicker = function DaterangePicker({
54
54
onFocusChange = { ( focus ) => focusChanged ( focus ) }
55
55
focusedInput = { focusedInput }
56
56
hideKeyboardShortcutsPanel = { true }
57
+ displayFormat = { formatProp }
57
58
/>
58
59
</ div >
59
60
) ;
You can’t perform that action at this time.
0 commit comments