Commit c09f221c authored by bonnie's avatar bonnie
Browse files

Bug#1057259 Added year to the post date of forum



I added the year that the post was posted onto the forum
so that people won't be confused with just the month
and day.

Change-Id: I8d15fa522770c842268fb66788b5b1fdc969ffab
Signed-off-by: default avatarbonnie <kurousagiwasugoi@gmail.com>
parent bf58c383
......@@ -1009,7 +1009,7 @@ function relative_date($relative, $absolute, $time1, $time2=null) {
else if ($date['year'] == $today['year'] && $date['yday'] == $today['yday']) {
return str_replace('%v', get_string('today', 'interaction.forum'), strftime($relative, $time1));
}
return strftime($absolute, $time1);
return strftime(get_string('strftimedatetime'), $time1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment