Fix broken input and display of Date/Time values in Kexi tables and forms

Authored by staniek on Oct 4 2016, 12:49 AM.



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
Test Plan

Diff Detail

R71 Kexi
No Linters Available
No Unit Test Coverage
staniek updated this revision to Diff 7068.Oct 4 2016, 12:49 AM
staniek retitled this revision from to Fix broken input and display of Date/Time values in Kexi tables and forms.
staniek updated this object.
staniek edited the test plan for this revision. (Show Details)
staniek added reviewers: piggz, jkunert.
staniek added a subscriber: Kexi-Devel-list.
Restricted Application added a project: KEXI. · View Herald TranscriptOct 4 2016, 12:49 AM
piggz accepted this revision.Oct 4 2016, 7:54 PM
piggz edited edge metadata.

Works for me

This revision is now accepted and ready to land.Oct 4 2016, 7:54 PM
staniek closed this revision.Oct 4 2016, 9:05 PM