Skip to content

Commit

Permalink
correção de exibição de data de publicação das paginas. Agora está mo…
Browse files Browse the repository at this point in the history
…strando a data de atualização conforme solicitado.
  • Loading branch information
Ramon authored and Cesar Augusto committed Jul 11, 2019
1 parent 5bda494 commit d4ddc73
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion application/views/pages/accordion.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<div class="container">

<div class="page-updated-at">
<?php $date = new DateTime($page['date']);?>
<?php $date = new DateTime($page['modified']);?>
<?= "(" . lang('updated') . ": " . $date->format('d/m/Y') . ")" ?>
</div>

Expand Down
2 changes: 1 addition & 1 deletion application/views/pages/bibliography.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<section class="collection collectionAbout">
<div class="container">
<div class="page-updated-at">
<?php $date = new DateTime($page['date']);?>
<?php $date = new DateTime($page['modified']);?>
<?= "(" . lang('updated') . ": " . $date->format('d/m/Y') . ")" ?>
</div>
<?php if (!empty($page['content']['rendered'])) : ?>
Expand Down
2 changes: 1 addition & 1 deletion application/views/pages/booklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<section>
<div class="container">
<div class="page-updated-at">
<?php $date = new DateTime($page['date']);?>
<?php $date = new DateTime($page['modified']);?>
<?= "(" . lang('updated') . ": " . $date->format('d/m/Y') . ")" ?>
</div>
<?php if (!empty($page['content']['rendered'])) : ?>
Expand Down
2 changes: 1 addition & 1 deletion application/views/pages/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<div class="col-xs-12 content">

<div class="page-updated-at">
<?php $date = new DateTime($page['date']);?>
<?php $date = new DateTime($page['modified']);?>
<?= "(" . lang('updated') . ": " . $date->format('d/m/Y') . ")" ?>
</div>

Expand Down

0 comments on commit d4ddc73

Please sign in to comment.