diff --git a/index.php b/index.php
index d8e48dabd..b2ba3c49b 100644
--- a/index.php
+++ b/index.php
@@ -71,8 +71,10 @@ foreach($NEWS_ENTRIES as $entry) {
}
foreach($frontpage as $entry) {
$link = substr($entry["id"], 15); // Strip http://php.net/
+ $date = date_format(date_create($entry["updated"]), 'Y-m-d');
$content .= '
';
$content .= '
';
+ $content .= '
' . $date . '
';
$content .= '
';
$content .= $entry["content"];
$content .= '
';
diff --git a/styles/home.css b/styles/home.css
index 2833370f6..74f2ff729 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -169,6 +169,12 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
content:"ยป";
color:#666;
}
+.newsentry .newstime {
+ float: right;
+ border-bottom: 1px dotted #999;
+ margin: 3px;
+}
+
.newsentry .newscontent {
padding: 5px;
margin-bottom: 20px;