Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-46843

Way to change base year for QDate::fromString 2 digit year parsing

    XMLWordPrintable

Details

    • 13
    • 305c8e9cf (dev), 7d929f13d (dev), 4f05ffeb4 (dev), 4799516de (dev), 9bf7d2a76 (dev), 41f84f3dd (dev), d2f15d65c (dev), 130e06686 (dev), 696daaf05 (6.8)
    • Foundation Sprint 93, Foundations Sprint 94, Foundations Sprint 95, Foundations Sprint 96, Foundations Sprint 97

    Description

      Parsing 2 digit year, for example "08", ends up being 1908. It would be useful to have possibility to set base year, for example to 2000.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Eddy Edward Welbourne
              poikelin Joni Poikelin
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: