how to make editor datepicker accurate to minute and second?

how to make editor datepicker accurate to minute and second?

webprophetswebprophets Posts: 18Questions: 5Answers: 0

In my database time format looks like : 2014-12-26 13:11:00
I can present right format to datatables like : Thu, 15 Jan 2015 13:11:00

but for editing, I use default jquery datepicker which only accurate to day, like Thu, 15 Jan 2015 00:00:00

I have datepicker add-on which can make datepicker pick date accurate to second, I add lib to the page as what I did on my other page, but it is not working.

This question has an accepted answers - jump to answer

Answers

  • webprophetswebprophets Posts: 18Questions: 5Answers: 0

    on my other normal php page

    What I do with datepicker add-on is

    using " $("#datepicker").datetimepicker({minDate: 0}); "

    instead of "

    $( "#datepicker" ).datepicker();

    "

    and add some libs

    then it is working

    But I don't know to make it works on Editor

  • webprophetswebprophets Posts: 18Questions: 5Answers: 0

    or could someone tell me in which way I can get a 24 hour clock in Editor?

    Thanks

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    Answer ✓

    There is a lot of overlap between your other discussion on this topic and this thread. So save us all getting confused, I'll reply to this in your other thread.

    Allan

This discussion has been closed.