summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 3afdf3cfd..27ae73d3b 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -803,10 +803,10 @@ function format_date($timestamp, $type = "medium", $format = "") {
}
for ($i = strlen($format); $i >= 0; $c = $format[--$i]) {
- if (strstr("DFlMSw", $c)) {
+ if (strstr("AaDFlM", $c)) {
$date = t(date($c, $timestamp)) . $date;
}
- else if (strstr("AaBdgGhHiIjLmnOrstTUWYyZz", $c)) {
+ else if (strstr("BdgGhHiIjLmnOrsStTUwWYyZz", $c)) {
$date = date($c, $timestamp) . $date;
}
else {