PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 583 - add a new QDatetime init function with 6 argument
: add a new QDatetime init function with 6 argument
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtCore
: HEAD
: All All
: P2 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-01-04 08:56 EET by Matti Airas
Modified: 2011-01-06 16:19 EET (History)
8 users (show)

See Also:


Attachments
patch (1.09 KB, patch)
2011-01-04 08:56 EET, Matti Airas
Details
new patch with unittest (2.17 KB, patch)
2011-01-04 12:49 EET, halida
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matti Airas 2011-01-04 08:56:28 EET
Created attachment 208 [details]
patch

From linjunhalida@gmail.com:

hello, I found pyqt support code like this:

QDatetime(2011, 1, 4, 17, 31, 31)

and pyside don't have 6 argument init function,
so I create one, attachment is the patch file.
test ok in my computer.
Comment 1 Matti Airas 2011-01-04 08:57:55 EET
Since the bug includes a trivial patch, I'm prioritizing this P2. I wonder
could you even consider applying the patch before beta3 release?
Comment 2 halida 2011-01-04 12:49:28 EET
Created attachment 210 [details]
new patch with unittest

unittest is added.
Comment 3 Hugo Parente Lima 2011-01-04 19:56:45 EET
Patch integrated in commit:

pyside/32681f7b7039f41bec4c4965370d4b66bee53532

I just changed the unit test a bit, thanks for the patch and the unit test!
Comment 4 renato filho 2011-01-06 16:19:38 EET
released on beta3