main
hecht 13 years ago
parent 8fc80d7ec2
commit 8157bfb810

@ -323,11 +323,11 @@ function formatDate($dateString) {
function formatTime($timeString) {
// Not yet required!
return $imeString;
return $timeString;
}
function formatTimestamp($timestampString) {
return preg_replace('#([\d]+?)-([\d]+?)-([\d]+?) ([\d:]+?)#', '\3.\2.\1 \4', $dateString);
return preg_replace('#([\d]+?)-([\d]+?)-([\d]+?) ([\d:]+?)#', '\3.\2.\1 \4', $timestampString);
}

Loading…
Cancel
Save