diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Schema/Postgres.php | 2 | ||||
-rw-r--r-- | app/Template/comment/show.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index 9c72141a..e7f89f82 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -12,7 +12,7 @@ function version_98(PDO $pdo) { $pdo->exec('ALTER TABLE "comments" ADD COLUMN date_modification BIGINT'); $pdo->exec('UPDATE "comments" - SET date_modificaiton = date_creation + SET date_modification = date_creation WHERE date_modification IS NULL'); } diff --git a/app/Template/comment/show.php b/app/Template/comment/show.php index 8a9c855b..f8d9607e 100644 --- a/app/Template/comment/show.php +++ b/app/Template/comment/show.php @@ -7,8 +7,8 @@ <strong class="comment-username"><?= $this->text->e($comment['name'] ?: $comment['username']) ?></strong> <?php endif ?> - <small class="comment-date"><?= t('Created At')?>: <?= $this->dt->datetime($comment['date_creation']) ?></small> - <small class="comment-date"><?= t('Updated At')?>: <?= $this->dt->datetime($comment['date_modification']) ?></small> + <small class="comment-date"><?= t('Created at:') ?> <?= $this->dt->datetime($comment['date_creation']) ?></small> + <small class="comment-date"><?= t('Updated at:')?> <?= $this->dt->datetime($comment['date_modification']) ?></small> </div> |