dev

Clone or download

Read-only

tasks #7402 Display time when option activated

This task is part of story #7161 Create a date-time field This commit displays time in date field if option is checked. It also validates submitted values with date+time. Change-Id: Ifdded8e2b96e6369bc85ce33555c3de2113c61ff

Modified Files

Name
A plugins/tracker/include/Tracker/FormElement/DateFormatter.class.php +116 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/DateTimeFormatter.class.php +66 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Date.class.php +46 −43 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_DateDao.class.php +1 −1 Go to diff View file
M plugins/tracker/include/autoload.php +4 −2 Go to diff View file
A plugins/tracker/tests/DateFormatterTest.php +55 −0 Go to diff View file
A plugins/tracker/tests/DateTimeFormatterTest.php +72 −0 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/layout/Layout.class.php +23 −7 Go to diff View file
M src/common/valid/Rule.class.php +10 −1 Go to diff View file
M src/www/scripts/tuleap/datetimepicker.js +5 −0 Go to diff View file