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 p...@riverbankcomputing.com wrote: On Wed, 5 Jun 2013 22:20:46 +0200, Michka

[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 :

Re: [PyQt] QApplication and datetime.strptime

2013-06-05 Thread Phil Thompson
On Wed, 5 Jun 2013 22:20:46 +0200, Michka Popoff michkapop...@gmail.com 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 :