Tidied up web interface to use standard dateformats

This commit is contained in:
laf
2015-05-22 14:05:09 +01:00
parent 6496e6ece4
commit ee4aaf1749
5 changed files with 8 additions and 7 deletions

View File

@@ -48,7 +48,7 @@ if ($_SESSION['userlevel'] >= "7")
if ($vars['rev'] == $svnlog["rev"]) {
echo('<span class="pagemenu-selected">');
}
$linktext = "r" . $svnlog["rev"] . " <small>" . date("d M H:i", strtotime($svnlog["date"])) . "</small>";
$linktext = "r" . $svnlog["rev"] . " <small>" . date($config['dateformat']['byminute'], strtotime($svnlog["date"])) . "</small>";
echo(generate_link($linktext, array('page' => 'device', 'device' => $device['device_id'], 'tab' => 'showconfig', 'rev' => $svnlog["rev"])));
if ($vars['rev'] == $svnlog["rev"]) {