diff options
Diffstat (limited to 'src/web/_views')
-rw-r--r-- | src/web/_views/apps/profile/main.php | 6 | ||||
-rw-r--r-- | src/web/_views/template/comment.php | 2 | ||||
-rw-r--r-- | src/web/_views/template/post.php | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/web/_views/apps/profile/main.php b/src/web/_views/apps/profile/main.php index 922ce64..6d25c98 100644 --- a/src/web/_views/apps/profile/main.php +++ b/src/web/_views/apps/profile/main.php @@ -181,7 +181,7 @@ </tr> <tr> <td><strong><?=ucfirst(lang('about_general_birth_date'))?></strong></td> - <td><?=$user['birth_date']?></td> + <td><?=$this->main->date($user['birth_date'])?></td> </tr> </table> <h1><?=ucfirst(lang('about_stats'))?></h1> @@ -204,11 +204,11 @@ </tr> <tr> <td><strong><?=ucfirst(lang('about_stats_joined'))?></strong></td> - <td><?=$user['created']?></td> + <td><?=$this->main->date($user['created'])?></td> </tr> <tr> <td><strong><?=ucfirst(lang('about_stats_seen'))?></strong></td> - <td><?=$user['seen']?></td> + <td><?=$this->main->date($user['seen'])?></td> </tr> </table> </div> diff --git a/src/web/_views/template/comment.php b/src/web/_views/template/comment.php index cf2c0b4..72bcedf 100644 --- a/src/web/_views/template/comment.php +++ b/src/web/_views/template/comment.php @@ -8,7 +8,7 @@ <div class="ml col sub-card"> <div class="row"> <strong><?=$format_model->name($user)?></strong> - <span class="dim ml"><?=$format_model->date($comment['created'])?></span> + <span class="dim ml"><?=$this->main->date($comment['created'])?></span> </div> <?=$comment['content']?> </div> diff --git a/src/web/_views/template/post.php b/src/web/_views/template/post.php index 3dcae8f..b8ea69a 100644 --- a/src/web/_views/template/post.php +++ b/src/web/_views/template/post.php @@ -5,7 +5,7 @@ <?=pfp($user)?> <div class="col ml"> <strong><?=$user['first_name'] . ' ' . $user['last_name']?></strong> - <span class="dim"><?=$post['created']?></span> + <span class="dim"><?=$this->main->date($post['created'])?></span> </div> </div> <p> |