0

according to the CMB2 document I can use the following parameter:

'date_format' => __( 'd-m-Y', 'cmb2' )

it seems that it ignore it

checking the code I see that there is a function for localized the datepicker parameters but I did not manage doing it

yivi
  • 42,438
  • 18
  • 116
  • 138
Oren Havshush
  • 76
  • 1
  • 8

1 Answers1

0

Did you try

'date_format' => 'd-m-Y'

because __() is searching for a localized string of course

Chris
  • 1