Qt Forum

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

    QDateTime and Qt::ISODate

    General and Desktop
    4
    9
    7243
    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.
    • P
      p-himik last edited by

      I'm not sure that this is the right place to write about inaccuracy in documentation but i don't know any other.
      Documentation says that QDateTime::fromString( str, Qt::ISODate ) will take string with either YYYY-MM-DDTHH:MM:SS or YYYY-MM-DDTHH:MM:SSTZD format. But the letter 'T' is not necessary (you can use space instead, like SQLite and PostgreSQL do).

      1 Reply Last reply Reply Quote 0
      • E
        Eddy last edited by

        Hi,

        If you make a feature request on "jira":https://bugreports.qt.nokia.com/secure/Dashboard.jspa it's more likely the docs Trolls will read this.

        Thanks for conibuting this.

        Qt Certified Specialist
        www.edalsolutions.be

        1 Reply Last reply Reply Quote 0
        • P
          p-himik last edited by

          Thank you for the link. I've made a feature request.

          1 Reply Last reply Reply Quote 0
          • Z
            ZapB last edited by

            You could also add a doc note on the docs hosted on this site [[Doc:QDateTime]]

            Nokia Certified Qt Specialist
            Interested in hearing about Qt related work

            1 Reply Last reply Reply Quote 0
            • E
              Eddy last edited by

              Hi p-himik,

              is it possible to copy the link to your bugreport here?

              The way things work is as follows :
              using that link, people can visit your bug report easily and vote for it. The issues with more votes are considered more important.

              Also if you put a link to this thread the trolls can sometimes better understand the context of your suggestion.

              Cheers,

              eddy

              Qt Certified Specialist
              www.edalsolutions.be

              1 Reply Last reply Reply Quote 0
              • P
                p-himik last edited by

                Eddy, here is the link
                https://bugreports.qt.nokia.com/browse/QTBUG-21870

                Here is another one
                https://bugreports.qt.nokia.com/browse/QTBUG-21871
                It's not so relevant to the topic (it's about QDate) but i don't think that it's worth creating another thread.

                1 Reply Last reply Reply Quote 0
                • E
                  Eddy last edited by

                  ok thanks !

                  Qt Certified Specialist
                  www.edalsolutions.be

                  1 Reply Last reply Reply Quote 0
                  • A
                    andre last edited by

                    On your second report: I don't think things like this will happen. There is a movement to decrease the size of the API surface, not the clutter it with convenience methods. QDate will get a big overhaul in Qt 5 anyway, where a lot of stuff will be added, and a clearer separation will be made into different classes that get different functionality (QDate, QDateTime, QCalendarSystem, QLocale, ...)

                    1 Reply Last reply Reply Quote 0
                    • P
                      p-himik last edited by

                      Thanks for the answer, i understand.

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