Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-3038

Typing : QDateTime accepts python datetime objects

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • None
    • Type hints
    • None

      Reported from PySide6-stubs

      See example : https://github.com/python-qt-tools/PySide6-stubs/blob/main/tests/qdatetime.py

      QDateTime accepts objects of type python datetime

      QDate accepts objects of type python datetime and python date

      But current stubs does not allow  that

        1. qdatetime.py
          0.1 kB
          Philippe Fremy
        For Gerrit Dashboard: PYSIDE-3038
        # Subject Branch Project Status CR V

            cinucen Ece Cinucen
            bluebird75 Philippe Fremy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change