AdamEsterle free asked 6 years ago

$('.datepicker').pickadate({ format: 'dddd, mmmm d, yyyy', formatSubmit: 'yyyy-mm-dd 00:00:00', hiddenName: true, selectMonths: true, // Creates a dropdown to control month selectYears: 5 // Creates a dropdown of 5 years to control year }); That is my javascript. It displays nicely when I select a date and sends to the server in the correct format (yyyy-mm-dd 00:00:00) However, on page load there is a problem: I set the value in the format of: yyyy-mm-dd 00:00:00 (since that is from my server/database) But it does not render to dddd, mmmm d, yyyy but rather stays as yyyy-mm-dd 00:00:00 When I click on it and select another date, then it goes to: dddd, mmmm d, yyyy Is that a bug?

AdamEsterle free answered 6 years ago

This can be deleted I was not loading the data correctly

Please insert min. 20 characters.


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


Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No