On Friday, 9 January 2015 19:09:15 UTC-4, stephen...@gmail.com  wrote:

> Very nice, thanks.
> 
> One issue is the format returned for the calendar selection. For today, the 
> string returned is "Fri Jan 9 2015". My script needs to convert the date to a 
> datetime.date, and having the month returned as a string instead of an 
> integer makes this harder.

Unfortunately, this is the default calendar widget from Qt - I just use the 
default:
 ...     def confirm(self):
        self.date = self.cal.selectedDate()

Perhaps I can find something in the docs to see if I could have the format 
configurable.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to