Mercurial > p > roundup > code
comparison doc/customizing.txt @ 8285:2bf0c4e7795e
fix: issue2551390 - Replace text input/calendar popup with native date input
Docs, code and test changes for the changeover to a native date
element.
See issue for details.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 18 Jan 2025 12:23:23 -0500 |
| parents | 6cebbb42c883 |
| children | b99e76e76496 |
comparison
equal
deleted
inserted
replaced
| 8284:92dad05379f9 | 8285:2bf0c4e7795e |
|---|---|
| 88 <tr> | 88 <tr> |
| 89 <th>Due Date</th> | 89 <th>Due Date</th> |
| 90 <td tal:content="structure context/due_date/field" /> | 90 <td tal:content="structure context/due_date/field" /> |
| 91 </tr> | 91 </tr> |
| 92 | 92 |
| 93 If you want to show only the date part of due_date then do this instead:: | 93 If you want to show the date and time for due_date then do this instead:: |
| 94 | 94 |
| 95 <tr> | 95 <tr> |
| 96 <th>Due Date</th> | 96 <th>Due Date</th> |
| 97 <td tal:content="structure python:context.due_date.field(format='%Y-%m-%d')" /> | 97 <td tal:content="structure context/due_date/field_time" /> |
| 98 </tr> | 98 </tr> |
| 99 | 99 |
| 100 3. Add the property to the ``issue.index.html`` page:: | 100 3. Add the property to the ``issue.index.html`` page:: |
| 101 | 101 |
| 102 (in the heading row) | 102 (in the heading row) |
