Commit 46cbc276 authored by Kjartan's avatar Kjartan

- Adding O modifier to format_date.

parent 738cebba
...@@ -709,7 +709,7 @@ function format_date($timestamp, $type = "medium", $format = "") { ...@@ -709,7 +709,7 @@ function format_date($timestamp, $type = "medium", $format = "") {
if (strstr("DFlMSw", $c)) { if (strstr("DFlMSw", $c)) {
$date = t(date($c, $timestamp)) . $date; $date = t(date($c, $timestamp)) . $date;
} }
else if (strstr("AaBdgGhHiIjLmnrstTUWYyZz", $c)) { else if (strstr("AaBdgGhHiIjLmnOrstTUWYyZz", $c)) {
$date = date($c, $timestamp) . $date; $date = date($c, $timestamp) . $date;
} }
else { else {
......
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