Date-time picker change format


Topic: Date-time picker change format

novatechsk asked 5 years 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 5 years ago

Hi. unfortunately not. Best, Grzegorz.


logikamente commented 5 years ago

There is an alternative way?


logikamente answered 5 years 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 5 years 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 commented 5 years ago

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


FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue
  • User: Free
  • 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