Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
542e6e0d
Commit
542e6e0d
authored
Jan 22, 2006
by
Dries Buytaert
Browse files
- Patch
#33102
by Kobus et al: show dates properly.
parent
56513571
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/profile.module
View file @
542e6e0d
...
...
@@ -282,7 +282,9 @@ function profile_view_field($user, $field) {
'j'
=>
$value
[
'day'
],
'm'
=>
sprintf
(
'%02d'
,
$value
[
'month'
]),
'M'
=>
map_month
(
$value
[
'month'
]),
'Y'
=>
$value
[
'year'
]);
'Y'
=>
$value
[
'year'
],
'H:i'
=>
null
,
'g:ia'
=>
null
);
return
strtr
(
$format
,
$replace
);
case
'list'
:
$values
=
split
(
"[,
\n\r
]"
,
$value
);
...
...
modules/profile/profile.module
View file @
542e6e0d
...
...
@@ -282,7 +282,9 @@ function profile_view_field($user, $field) {
'j'
=>
$value
[
'day'
],
'm'
=>
sprintf
(
'%02d'
,
$value
[
'month'
]),
'M'
=>
map_month
(
$value
[
'month'
]),
'Y'
=>
$value
[
'year'
]);
'Y'
=>
$value
[
'year'
],
'H:i'
=>
null
,
'g:ia'
=>
null
);
return
strtr
(
$format
,
$replace
);
case
'list'
:
$values
=
split
(
"[,
\n\r
]"
,
$value
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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