diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-06 18:08:41 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-06 18:08:41 -0500 |
commit | 58cef289674717027b6b470044504a661f3bd9ad (patch) | |
tree | bf3be866b414009b60b1e1f16480a84c91da03de /app/Template/user/timesheet.php | |
parent | fc785bbbf6cc7db01964ae1d99cd02e85afeedc2 (diff) |
The date time format can be chosen in application settings
Diffstat (limited to 'app/Template/user/timesheet.php')
-rw-r--r-- | app/Template/user/timesheet.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/user/timesheet.php b/app/Template/user/timesheet.php index 5c0d3af8..4a6e42c5 100644 --- a/app/Template/user/timesheet.php +++ b/app/Template/user/timesheet.php @@ -18,8 +18,8 @@ <tr> <td><?= $this->url->link($this->e($record['task_title']), 'task', 'show', array('project_id' => $record['project_id'], 'task_id' => $record['task_id'])) ?></td> <td><?= $this->url->link($this->e($record['subtask_title']), 'task', 'show', array('project_id' => $record['project_id'], 'task_id' => $record['task_id'])) ?></td> - <td><?= dt('%B %e, %Y at %k:%M %p', $record['start']) ?></td> - <td><?= dt('%B %e, %Y at %k:%M %p', $record['end']) ?></td> + <td><?= $this->dt->datetime($record['start']) ?></td> + <td><?= $this->dt->datetime($record['end']) ?></td> <td><?= n($record['time_spent']).' '.t('hours') ?></td> </tr> <?php endforeach ?> |