Skip to content
Snippets Groups Projects
Commit 46cbc276 authored by Kjartan Mannes's avatar Kjartan Mannes
Browse files

- Adding O modifier to format_date.

parent 738cebba
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -709,7 +709,7 @@ function format_date($timestamp, $type = "medium", $format = "") {
if (strstr("DFlMSw", $c)) {
$date = t(date($c, $timestamp)) . $date;
}
else if (strstr("AaBdgGhHiIjLmnrstTUWYyZz", $c)) {
else if (strstr("AaBdgGhHiIjLmnOrstTUWYyZz", $c)) {
$date = date($c, $timestamp) . $date;
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment