git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nieuws: support truncated dates in replies
[minimedit.git]
/
nieuws.inc.php
diff --git
a/nieuws.inc.php
b/nieuws.inc.php
index 713347490441bbbb79844e837d6e76aa312005f3..524109d7fb7c2220e7e626e873eb32ad0c0bbbd7 100644
(file)
--- a/
nieuws.inc.php
+++ b/
nieuws.inc.php
@@
-10,6
+10,7
@@
function showdate($parts)
global $monthname;
return implode(' ', array_filter([
intval($parts[3]), $parts[2] > 0 ? $monthname[intval($parts[2])] : '', $parts[1],
+ count($parts) > 6 ? "$parts[4]:$parts[5]" : '',
]));
}