mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Use sane date format strings everywhere
We fixed this for the fields displayed on the package details page in commit b5fffe9a02cd4fd3b7da66e403f02eea89c8fcad. This should fix the remaining ones. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: canyonknight <canyonknight@gmail.com>
This commit is contained in:
parent
9c63946c03
commit
4a4f26cda6
4 changed files with 7 additions and 7 deletions
|
@ -21,9 +21,9 @@ $mod_int = intval($row["ModifiedTS"]);
|
|||
$sub_int = intval($row["SubmittedTS"]);
|
||||
|
||||
if ($mod_int == $sub_int):
|
||||
$modstring = '<img src="images/new.gif" alt="New!" /> ' . gmdate("r", $sub_int);
|
||||
$modstring = '<img src="images/new.gif" alt="New!" /> ' . gmdate("Y-m-d H:i", $sub_int);
|
||||
else:
|
||||
$modstring = gmdate("r", $mod_int);
|
||||
$modstring = gmdate("Y-m-d H:i", $mod_int);
|
||||
endif;
|
||||
?>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue