The date time format can be chosen in application settings
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
</tr>
|
||||
<?php foreach ($last_logins as $login): ?>
|
||||
<tr>
|
||||
<td><?= dt('%B %e, %Y at %k:%M %p', $login['date_creation']) ?></td>
|
||||
<td><?= $this->dt->datetime($login['date_creation']) ?></td>
|
||||
<td><?= $this->e($login['auth_type']) ?></td>
|
||||
<td><?= $this->e($login['ip']) ?></td>
|
||||
<td><?= $this->e($login['user_agent']) ?></td>
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
</tr>
|
||||
<?php foreach ($tokens as $token): ?>
|
||||
<tr>
|
||||
<td><?= dt('%B %e, %Y at %k:%M %p', $token['date_creation']) ?></td>
|
||||
<td><?= dt('%B %e, %Y at %k:%M %p', $token['date_expiration']) ?></td>
|
||||
<td><?= $this->dt->datetime($token['date_creation']) ?></td>
|
||||
<td><?= $this->dt->datetime($token['date_expiration']) ?></td>
|
||||
<td><?= $token['is_active'] == 0 ? t('No') : t('Yes') ?></td>
|
||||
<td><?= $this->e($token['ip']) ?></td>
|
||||
<td><?= $this->e($token['user_agent']) ?></td>
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
</tr>
|
||||
<?php foreach ($sessions as $session): ?>
|
||||
<tr>
|
||||
<td><?= dt('%B %e, %Y at %k:%M %p', $session['date_creation']) ?></td>
|
||||
<td><?= dt('%B %e, %Y at %k:%M %p', $session['expiration']) ?></td>
|
||||
<td><?= $this->dt->datetime($session['date_creation']) ?></td>
|
||||
<td><?= $this->dt->datetime($session['expiration']) ?></td>
|
||||
<td><?= $this->e($session['ip']) ?></td>
|
||||
<td><?= $this->e($session['user_agent']) ?></td>
|
||||
<td><?= $this->url->link(t('Remove'), 'User', 'removeSession', array('user_id' => $user['id'], 'id' => $session['id']), true) ?></td>
|
||||
|
||||
@@ -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 ?>
|
||||
|
||||
Reference in New Issue
Block a user