Skip to content

Commit

Permalink
Marking up dates and times.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuswilms committed Feb 7, 2011
1 parent ec87889 commit 041ed26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion views/pastes/index.html.php
Expand Up @@ -22,7 +22,7 @@
</td>
<td class="preview"><?= $truncate($row->content); ?></td>
<td><?=$row->author; ?></td>
<td><?php echo date('Y-m-d H:i', strtotime($row->created)); ?></td>
<td><time datetime="<?=date('c', strtotime($row->created)); ?>"><?=$row->created; ?></time></td>
</tr>
<?php endforeach;?>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion views/pastes/view.html.php
Expand Up @@ -3,7 +3,7 @@
<div class="meta">
This <span class="language"><?=$paste->language;?></span> paste was created by
<span class="author user"><?=$paste->author;?></span> at
<span class="created"><?=$paste->created;?></span>.
<time datetime="<?=date('c', strtotime($paste->created)); ?>" class="created"><?=$paste->created;?></time>.
</div>
<div class="nav">
<ul>
Expand Down

0 comments on commit 041ed26

Please sign in to comment.