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
7fa3f5dd
Commit
7fa3f5dd
authored
Apr 02, 2006
by
Neil Drumm
Browse files
#53949
by timcn, add a German date/time format
parent
812795a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/system.module
View file @
7fa3f5dd
...
...
@@ -377,15 +377,15 @@ function system_view_general() {
// Date settings: possible date formats
$dateshort
=
array
(
'Y-m-d H:i'
,
'm/d/Y - H:i'
,
'd/m/Y - H:i'
,
'Y/m/d - H:i'
,
'm/d/Y - g:ia'
,
'd/m/Y - g:ia'
,
'Y/m/d - g:ia'
,
'j.m.Y - G:i'
,
'm/d/Y - g:ia'
,
'd/m/Y - g:ia'
,
'Y/m/d - g:ia'
,
'M j Y - H:i'
,
'j M Y - H:i'
,
'Y M j - H:i'
,
'M j Y - g:ia'
,
'j M Y - g:ia'
,
'Y M j - g:ia'
);
$datemedium
=
array
(
'D, Y-m-d H:i'
,
'D, m/d/Y - H:i'
,
'D, d/m/Y - H:i'
,
'D, Y/m/d - H:i'
,
'F j, Y - H:i'
,
'j F, Y - H:i'
,
'Y, F j - H:i'
,
'D, m/d/Y - g:ia'
,
'D, d/m/Y - g:ia'
,
'D, Y/m/d - g:ia'
,
'F j, Y - g:ia'
,
'j F Y - g:ia'
,
'Y, F j - g:ia'
);
'F j, Y - g:ia'
,
'j F Y - g:ia'
,
'Y, F j - g:ia'
,
'j. F Y - G:i'
);
$datelong
=
array
(
'l, F j, Y - H:i'
,
'l, j F, Y - H:i'
,
'l, Y, F j - H:i'
,
'l, F j, Y - g:ia'
,
'l, j F Y - g:ia'
,
'l, Y, F j - g:ia'
);
'l, F j, Y - g:ia'
,
'l, j F Y - g:ia'
,
'l, Y, F j - g:ia'
,
'l, j. F Y - G:i'
);
// Date settings: construct choices for user
foreach
(
$dateshort
as
$f
)
{
...
...
modules/system/system.module
View file @
7fa3f5dd
...
...
@@ -377,15 +377,15 @@ function system_view_general() {
// Date settings: possible date formats
$dateshort
=
array
(
'Y-m-d H:i'
,
'm/d/Y - H:i'
,
'd/m/Y - H:i'
,
'Y/m/d - H:i'
,
'm/d/Y - g:ia'
,
'd/m/Y - g:ia'
,
'Y/m/d - g:ia'
,
'j.m.Y - G:i'
,
'm/d/Y - g:ia'
,
'd/m/Y - g:ia'
,
'Y/m/d - g:ia'
,
'M j Y - H:i'
,
'j M Y - H:i'
,
'Y M j - H:i'
,
'M j Y - g:ia'
,
'j M Y - g:ia'
,
'Y M j - g:ia'
);
$datemedium
=
array
(
'D, Y-m-d H:i'
,
'D, m/d/Y - H:i'
,
'D, d/m/Y - H:i'
,
'D, Y/m/d - H:i'
,
'F j, Y - H:i'
,
'j F, Y - H:i'
,
'Y, F j - H:i'
,
'D, m/d/Y - g:ia'
,
'D, d/m/Y - g:ia'
,
'D, Y/m/d - g:ia'
,
'F j, Y - g:ia'
,
'j F Y - g:ia'
,
'Y, F j - g:ia'
);
'F j, Y - g:ia'
,
'j F Y - g:ia'
,
'Y, F j - g:ia'
,
'j. F Y - G:i'
);
$datelong
=
array
(
'l, F j, Y - H:i'
,
'l, j F, Y - H:i'
,
'l, Y, F j - H:i'
,
'l, F j, Y - g:ia'
,
'l, j F Y - g:ia'
,
'l, Y, F j - g:ia'
);
'l, F j, Y - g:ia'
,
'l, j F Y - g:ia'
,
'l, Y, F j - g:ia'
,
'l, j. F Y - G:i'
);
// Date settings: construct choices for user
foreach
(
$dateshort
as
$f
)
{
...
...
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