No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    DateTime field question

    Framework
    1
    1
    379
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Syware last edited by

      Hello,

      I try to use the q-datetime as type: “time”.

      <q-datetime v-model="day.from" :format="'HH:mm'"  :format-model="'string'", type="time" />
      

      the “day.from” has the value “10:00”. The field is blank and when I try to pick the value “10:00” from the picker, the “day.from” value is “2018-04-25T10:00:00.000+02:00”

      I am reading and reading the doc but I don’t understand what I do wrong.

      How can I manage a string to represent an hour with the format “HH:mm” ?

      Thanks in advance to people who are reading.

      Best regards

      Bioley Léal

      1 Reply Last reply Reply Quote 0
      • First post
        Last post