Topic: Date-time picker change format

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

Hi. unfortunately not. Best, Grzegorz.


logikamente premium commented 4 years ago

There is an alternative way?


logikamente premium answered 4 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 4 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 premium commented 4 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

  • ForumUser: 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