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
e3f215f6
Commit
e3f215f6
authored
Jan 04, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix missing import of timeWeek which would cause errors in prometheus graphs with deployments
parent
58a705aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
app/assets/javascripts/monitoring/utils/date_time_formatters.js
...sets/javascripts/monitoring/utils/date_time_formatters.js
+12
-2
No files found.
app/assets/javascripts/monitoring/utils/date_time_formatters.js
View file @
e3f215f6
import
{
timeFormat
as
time
}
from
'
d3-time-format
'
;
import
{
timeSecond
,
timeMinute
,
timeHour
,
timeDay
,
timeMonth
,
timeYear
}
from
'
d3-time
'
;
import
{
timeSecond
,
timeMinute
,
timeHour
,
timeDay
,
time
Week
,
time
Month
,
timeYear
}
from
'
d3-time
'
;
import
{
bisector
}
from
'
d3-array
'
;
const
d3
=
{
time
,
bisector
,
timeSecond
,
timeMinute
,
timeHour
,
timeDay
,
timeMonth
,
timeYear
};
const
d3
=
{
time
,
bisector
,
timeSecond
,
timeMinute
,
timeHour
,
timeDay
,
timeWeek
,
timeMonth
,
timeYear
,
};
export
const
dateFormat
=
d3
.
time
(
'
%b %-d, %Y
'
);
export
const
timeFormat
=
d3
.
time
(
'
%-I:%M%p
'
);
...
...
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