Date-time picker change format


Topic: Date-time picker change format

novatechsk pro premium asked a year ago

Hi, is there any option to format datetimepicker? I saw i can edit format in date picker, but not in datetimepicker. for example if I want to format output as yyyy-mm-dd hour:minute


Grzegorz Bujański staff commented a year ago

Hi. unfortunately not. Best, Grzegorz.


logikamente pro premium commented a year ago

There is an alternative way?


logikamente pro premium answered a year ago

Hi, i hope is possible soon to set date format within dateTimePicker. Seems it's not possible to se any global pickdate default by extend variables.

I insert extend first my code like:

$.extend($.fn.pickadate.defaults, {

            format: 'dd/mm/yyyy'
})

Please help me and use to solve. Thank you


Grzegorz Bujański staff commented a year ago

For now we don't have any solution to set date format using dateTimePicker. If you need set date and time format you should use Separately time Picker and date picker.


logikamente pro premium commented a year ago

Ok, we'll be appreciated in the future to have settings format within dateTimePicker. Thank you


Status

Closed

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.14.1
  • Device: PC
  • Browser: Chrome
  • OS: W10 Pro
  • Provided sample code: No
  • Provided link: No