<table><tr><td style="">staniek created this revision.<br />staniek added reviewers: piggz, jkunert.<br />staniek added a subscriber: Kexi-Devel-list.<br />Restricted Application added a project: Kexi.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D2924" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The current implementation does not need to compute position of sections and scan for separators, but:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">generate input mask based on data/time/date+time formats</li>
<li class="remarkup-list-item">separate input format from output format</li>
<li class="remarkup-list-item">allow to enter incomplete numbers for values, e.g. for hours even if the format expects two digits, one digit is enough</li>
<li class="remarkup-list-item">capture 'empty format' which helps to detect that only separators are present in the input string</li>
<li class="remarkup-list-item">add fallback from names to numeric values of months and days when generating input mask</li>
</ul>
<p><a href="https://phabricator.kde.org/T3901" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">T3901</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Try the test database at <a href="https://bugs.kde.org/show_bug.cgi?id=369518#attach_101338" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=369518#attach_101338</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKEXI Kexi</div></div></div><br /><div><strong>BRANCH</strong><div><div>3.0</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2924" rel="noreferrer">https://phabricator.kde.org/D2924</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/widget/tableview/kexitextformatter.cpp<br />
src/widget/utils/kexidatetimeformatter.cpp<br />
src/widget/utils/kexidatetimeformatter.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>staniek, piggz, jkunert<br /><strong>Cc: </strong>Kexi-Devel-list, staniek<br /></div>