• Resolved Newrone

    (@newrone)


    Hi, I’m finding it difficult to find a Time format that simply reads hh:mm:ss (Hours, Minutes & Seconds). the point is to choose a duration. I’ve tried various options from Flatpickr where H:i:S seems to be the most obvious option but it still doesn’t display seconds. As does this:

    {
    enableTime: true,
    noCalendar: true,
    dateFormat: “H:i:S”,
    time_24hr: true
    }

    hh:mm:ss doesn’t work either. I only ever get the same “hh mm” drop-down.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Amimul Ihsan Mahdi

    (@amimulihsanmahdi)

    Hi there,

    You need to use enableSeconds: true. Also, I can see that you are using wrong quotation for dateFormat. I have updated the code and it is working fine, here is the screenshot.

    Please use the below code:

    {
    enableTime: true,
    enableSeconds:true,
    noCalendar: true,
    dateFormat: "H:i:S",
    time_24hr: true
    }

    Let us know the update.

    Thank you

    Thread Starter Newrone

    (@newrone)

    It works! Thanks very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.