[Differential] [Request, 553 lines] D2924: Fix broken input and display of Date/Time values in Kexi tables and forms
staniek (Jarosław Staniek)
noreply at phabricator.kde.org
Tue Oct 4 00:49:30 UTC 2016
staniek created this revision.
staniek added reviewers: piggz, jkunert.
staniek added a subscriber: Kexi-Devel-list.
Restricted Application added a project: Kexi.
REVISION SUMMARY
The current implementation does not need to compute position of sections and scan for separators, but:
- generate input mask based on data/time/date+time formats
- separate input format from output format
- allow to enter incomplete numbers for values, e.g. for hours even if the format expects two digits, one digit is enough
- capture 'empty format' which helps to detect that only separators are present in the input string
- add fallback from names to numeric values of months and days when generating input mask
https://phabricator.kde.org/T3901
TEST PLAN
Try the test database at https://bugs.kde.org/show_bug.cgi?id=369518#attach_101338
REPOSITORY
rKEXI Kexi
BRANCH
3.0
REVISION DETAIL
https://phabricator.kde.org/D2924
AFFECTED FILES
src/widget/tableview/kexitextformatter.cpp
src/widget/utils/kexidatetimeformatter.cpp
src/widget/utils/kexidatetimeformatter.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: staniek, piggz, jkunert
Cc: Kexi-Devel-list, staniek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kexi-devel/attachments/20161004/7ec347fc/attachment-0001.html>
More information about the Kexi-devel
mailing list