Re: [PyQt] QApplication and datetime.strptime

2013-06-07 Thread Michka Popoff
Thanks for your answer. So it's more a QT thing than PyQt. I think I'll have to search an alternative to datetime.strptime, which would be compatible with QT/PyQT Michka On 5 juin 2013, at 23:19, Phil Thompson wrote: > On Wed, 5 Jun 2013 22:20:46 +0200, Michka Popoff > wrote: >> Hi >> >> I

Re: [PyQt] QApplication and datetime.strptime

2013-06-05 Thread Phil Thompson
On Wed, 5 Jun 2013 22:20:46 +0200, Michka Popoff wrote: > Hi > > I am extracting strings containing dates from some files in a pyqt app, > and I want to use datetime.strptime to format them. > > But this won't work as Qapplication seem to alter my locales. I found this > topic : > > http://stac

[PyQt] QApplication and datetime.strptime

2013-06-05 Thread Michka Popoff
Hi I am extracting strings containing dates from some files in a pyqt app, and I want to use datetime.strptime to format them. But this won't work as Qapplication seem to alter my locales. I found this topic : http://stackoverflow.com/questions/14684513/datetime-strptime-doesnt-work-in-pyqt4-q