Merge lp:~mendymeng-1206/gtg/mendy into lp:~gtg/gtg/old-trunk
Proposed by
Meng Meng
Status: | Rejected |
---|---|
Rejected by: | Izidor Matušov |
Proposed branch: | lp:~mendymeng-1206/gtg/mendy |
Merge into: | lp:~gtg/gtg/old-trunk |
Diff against target: |
369 lines (+92/-87) 10 files modified
GTG/__init__.py (+1/-0) GTG/core/__init__.py (+1/-0) GTG/gtk/browser/browser.py (+1/-1) GTG/gtk/editor/editor.py (+40/-10) GTG/gtk/manager.py (+2/-1) GTG/gtk/preferences.glade (+22/-0) GTG/gtk/preferences.py (+17/-2) GTG/tools/dates.py (+7/-1) gtg (+0/-72) test/data/bryce/xdg/config/gtg/gtg.conf (+1/-0) |
To merge this branch: | bzr merge lp:~mendymeng-1206/gtg/mendy |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Izidor Matušov | code review | Needs Resubmitting | |
Luca Invernizzi | Pending | ||
Review via email: mp+80224@code.launchpad.net |
Commit message
This commit fixed the due date can be chosen before start date bug. Partially finished the custom date format setting feature.
Description of the change
Date format preference implemented. But currently only AU date format supported.
More related work need to be done in the future.
Due date cannot be set before start date. otherwise it will be set to the same date as the start date and the background of due date textbox will turn to green color to inform user the change.
To post a comment you must log in.
I don't think we need date format preference in GTG. That information is already in the system as locale setting.
Adding preferences for all languages is really laborious work - somebody else has done it already as locales system. Please, rewrite your patch using the locale.
Few tips: stackoverflow. com/questions/ 3438120/ python- date-formatted- with-x- locale- is-not- as-expected
- use %x to get dateformat as it is with locales
- See this question if you have problems: http://
Please resubmit the rewritten patch.