Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
83580d08
Commit
83580d08
authored
Mar 24, 2015
by
Jan-Christoph Borchardt
Browse files
Merge pull request #15143 from owncloud/24h-time-format
Use 24h format instead of 12h format
parents
46475bf5
946a7c3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/js/js.js
View file @
83580d08
...
...
@@ -1338,7 +1338,7 @@ OC.Util = {
* @returns {string} timestamp formatted as requested
*/
formatDate
:
function
(
timestamp
,
format
)
{
format
=
format
||
"
MMMM D, YYYY
h
:mm
"
;
format
=
format
||
"
MMMM D, YYYY
H
:mm
"
;
return
moment
(
timestamp
).
format
(
format
);
},
...
...
Write
Preview
Supports
Markdown
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