Skip to content
This repository was archived by the owner on Mar 28, 2021. It is now read-only.

Commit d86adfc

Browse files
committed
Release 0.2.1, Show Date in title
1 parent 9af257c commit d86adfc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
55

66
## [Unreleased]
77

8+
## [0.2.1] - 2018-07-01
9+
810
### Breaking Changes
911
- added $config['locale']. See config.sample.php - you have to set it.
1012

1113
### Changed
1214
- new layout & design with more whitespace and more explanations.
13-
15+
- Show dates in local and relative format.
1416

1517
## [0.2.0] - 2018-06-16
1618

src/frontend.template.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ function niceDate($date) {
192192
<div class="media-body">
193193
<h6 class="list-group-item-heading"><?php echo filter_var($email->fromName, FILTER_SANITIZE_SPECIAL_CHARS) ?>
194194
<span class="text-muted"><?php echo filter_var($email->fromAddress, FILTER_SANITIZE_SPECIAL_CHARS) ?></span>
195-
<small class="float-right"><?php echo niceDate($email->date) ?></small>
195+
<small class="float-right"
196+
title="<?php echo $email->date ?>"><?php echo niceDate($email->date) ?></small>
196197
</h6>
197198
<p class="list-group-item-text text-truncate" style="width: 75%">
198199
<?php echo filter_var($email->subject, FILTER_SANITIZE_SPECIAL_CHARS); ?>

0 commit comments

Comments
 (0)