New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date format mixup in the schedule panel #139

Closed
hsoft opened this Issue Jun 22, 2013 · 2 comments

Comments

Projects
None yet
1 participant
@hsoft
Owner

hsoft commented Jun 22, 2013

Under Windows, all hell breaks loose when you set a date format like dd/MM/yyyy and you get crashes like:

@@@
Application Name: moneyGuru
Version: 1.7.7

Traceback (most recent call last):
File "C:\src\moneyguru\qt\build\pyi.win32\mg\outPYZ1.pyz/controller.panel", line 89, in lineEditEditingFinished
File "C:\src\moneyguru\qt\build\pyi.win32\mg\outPYZ1.pyz/core.gui.schedule_panel", line 36, in start_date
File "C:\src\moneyguru\qt\build\pyi.win32\mg\outPYZ1.pyz/core.app", line 89, in parse_date
File "C:\src\moneyguru\qt\build\pyi.win32\mg\outPYZ1.pyz/core.model.date", line 318, in parse_date
File "C:\src\moneyguru\qt\build\pyi.win32\mg\outPYZ1.pyz/_strptime", line 325, in _strptime
ValueError: time data '--/--/----' does not match format '%d-%m-%Y'
@@@

@hsoft hsoft closed this Jun 22, 2013

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

(from [bfe74313f51a]) [#139 state:fixed] Fixed a (stupid) date format bug on the Qt side.
http://bitbucket.org/hsoft/moneyguru/changeset/bfe74313f51a/

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

(from [e5a9366c47d9]) [#139 state:fixed] Fixed a (stupid) date format bug on the Qt side.
(transplanted from bfe74313f51a6a29272f7077f9e9fd4b0883f4ee)
http://bitbucket.org/hsoft/moneyguru/changeset/e5a9366c47d9/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment