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

    How to localize q-datetime

    Framework
    2
    5
    1544
    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.
    • H
      hol42 last edited by

      What do I need to do to localize q-datetime? I need the buttons “Clear”, “Cancel”, “Set” translated and I need to be able to enter the time in the 24 hours format not by “am/pm”. Also the Label is overlapping with the date and time and the date and time is backwards yyyy-mm-dd and I would like to have it dd.mm.yyyy. Any suggestions?

      0_1500707333964_upload-fca55541-e7ba-4618-92e5-db23c74088d3

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by s.molinari

        Have you read the docs?

        http://beta.quasar-framework.org/components/datetime.html

        Important things to look for to answer your questions are the props ok-label, cancel-label, clear-label (which can be used to rename the control buttons), day-names, month-names (for internalization of the days and months), format-24h and format (for the date formatting).

        Why the label is overlapping is strange. What browser and OS are you using?

        Scott

        1 Reply Last reply Reply Quote 0
        • H
          hol42 last edited by hol42

          Thank you very much. Did read the docs only half-way through, sorry. But format-24h is a 0.14 feature. I have not migrated yet (how to do that anyway?). The browser of the screenshot is firefox.

          1 Reply Last reply Reply Quote 0
          • s.molinari
            s.molinari last edited by

            And what OS?

            Scott

            1 Reply Last reply Reply Quote 0
            • s.molinari
              s.molinari last edited by

              For migrating, see these posts.

              http://forum.quasar-framework.org/topic/580/migration-0-13-to-0-14/3 & http://forum.quasar-framework.org/topic/522/upgrade-guide-for-0-14-beta

              Scott

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