Skip to content

Commit

Permalink
Change date format to Y-m-d
Browse files Browse the repository at this point in the history
  • Loading branch information
prcr committed Aug 25, 2023
1 parent b2fe3b8 commit 56fbcab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</div>
<p class="postmetadata">
<span title="<?php echo time_since(abs(strtotime($post->post_date_gmt . ' GMT'))) . ' ago'; ?>">
<?php the_time('y.F.d') ?>
<?php the_time('Y-m-d') ?>
</span>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
<?php the_category(', ') ?>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
<?php comments_popup_link('no comments', '1 comment', '% comments', '', 'comments are closed'); ?>
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</div>
<p class="postmetadata">
<span title="<?php echo time_since(abs(strtotime($post->post_date_gmt . ' GMT'))) . ' ago'; ?>">
<?php the_time('y.F.d') ?>
<?php the_time('Y-m-d') ?>
</span>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
<?php the_category(', ') ?>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
<?php comments_popup_link('no comments', '1 comment', '% comments', '', 'comments are closed'); ?>
Expand Down
2 changes: 1 addition & 1 deletion search.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</div>
<p class="postmetadata">
<span title="<?php echo time_since(abs(strtotime($post->post_date_gmt . ' GMT'))) . ' ago'; ?>">
<?php the_time('y.F.d') ?>
<?php the_time('Y-m-d') ?>
</span>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
<?php the_category(', ') ?>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
<?php comments_popup_link('no comments', '1 comment', '% comments', '', 'comments are closed'); ?>
Expand Down
2 changes: 1 addition & 1 deletion single.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<p class="postmetadata">
<span title="<?php echo time_since(abs(strtotime($post->post_date_gmt . ' GMT'))) . ' ago'; ?>">
<?php the_time('y.F.d') ?>
<?php the_time('Y-m-d') ?>
</span>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
<?php the_category(', ') ?>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
<?php comments_popup_link('no comments', '1 comment', '% comments', '', 'comments are closed'); ?>
Expand Down

0 comments on commit 56fbcab

Please sign in to comment.