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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
56439605
Commit
56439605
authored
Dec 14, 2017
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace gl.utils.formatDate in place of exported function
Closes #4347
parent
292e94a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/geo_nodes.js
app/assets/javascripts/geo_nodes.js
+2
-2
No files found.
app/assets/javascripts/geo_nodes.js
View file @
56439605
...
...
@@ -3,7 +3,7 @@ import axios from 'axios';
import
SmartInterval
from
'
~/smart_interval
'
;
import
{
s__
}
from
'
~/locale
'
;
import
{
parseSeconds
,
stringifyTime
}
from
'
./lib/utils/pretty_time
'
;
import
{
timeIntervalInWords
}
from
'
./lib/utils/datetime_utility
'
;
import
{
formatDate
,
timeIntervalInWords
}
from
'
./lib/utils/datetime_utility
'
;
import
timeago
from
'
./vue_shared/mixins/timeago
'
;
const
healthyClass
=
'
geo-node-healthy
'
;
...
...
@@ -115,7 +115,7 @@ class GeoNodeStatus {
let
eventDate
=
notAvailable
;
if
(
eventTimestamp
&&
eventTimestamp
>
0
)
{
eventDate
=
gl
.
utils
.
formatDate
(
new
Date
(
eventTimestamp
*
1000
));
eventDate
=
formatDate
(
new
Date
(
eventTimestamp
*
1000
));
}
if
(
eventId
)
{
...
...
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