Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
67d52fe4
Commit
67d52fe4
authored
Jun 12, 2017
by
Bob Van Landuyt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the same time format as before
parent
0c04a890
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
app/helpers/application_helper.rb
app/helpers/application_helper.rb
+1
-1
config/locales/en.yml
config/locales/en.yml
+1
-0
No files found.
app/helpers/application_helper.rb
View file @
67d52fe4
...
@@ -169,7 +169,7 @@ module ApplicationHelper
...
@@ -169,7 +169,7 @@ module ApplicationHelper
element
=
content_tag
:time
,
l
(
time
,
format:
"%b %d, %Y"
),
element
=
content_tag
:time
,
l
(
time
,
format:
"%b %d, %Y"
),
class:
css_classes
,
class:
css_classes
,
title:
l
(
time
.
to_time
.
in_time_zone
,
format: :
short
),
title:
l
(
time
.
to_time
.
in_time_zone
,
format: :
timeago_tooltip
),
datetime:
time
.
to_time
.
getutc
.
iso8601
,
datetime:
time
.
to_time
.
getutc
.
iso8601
,
data:
{
data:
{
toggle:
'tooltip'
,
toggle:
'tooltip'
,
...
...
config/locales/en.yml
View file @
67d52fe4
...
@@ -248,4 +248,5 @@ en:
...
@@ -248,4 +248,5 @@ en:
default
:
"
%a,
%d
%b
%Y
%H:%M:%S
%z"
default
:
"
%a,
%d
%b
%Y
%H:%M:%S
%z"
long
:
"
%B
%d,
%Y
%H:%M"
long
:
"
%B
%d,
%Y
%H:%M"
short
:
"
%d
%b
%H:%M"
short
:
"
%d
%b
%H:%M"
timeago_tooltip
:
"
%b
%-d,
%Y
%-k:%M%P"
pm
:
pm
pm
:
pm
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