Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
46cbc276
Commit
46cbc276
authored
Mar 09, 2003
by
Kjartan
Browse files
- Adding O modifier to format_date.
parent
738cebba
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
46cbc276
...
...
@@ -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
(
"AaBdgGhHiIjLmn
O
rstTUWYyZz"
,
$c
))
{
$date
=
date
(
$c
,
$timestamp
)
.
$date
;
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment