Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ICAT
Datahub
Commits
1ecb247f
Commit
1ecb247f
authored
Jun 17, 2021
by
Alejandro De Maria Antolinos
Browse files
Merge branch 'issue_510' into 'master'
It closes
#510
Closes
#510
See merge request
!529
parents
f35d8298
91aab0c1
Pipeline
#48863
passed with stages
in 13 minutes and 30 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/containers/LogbookStatsPage.js
View file @
1ecb247f
...
...
@@ -12,7 +12,7 @@ function LogbookStatisticsPage() {
const
query
=
useQuery
();
const
startDate
=
query
.
get
(
'
startDate
'
)
||
moment
().
subtract
(
30
,
'
days
'
).
format
(
moment
.
HTML5_FMT
.
DATE
);
moment
().
subtract
(
7
,
'
days
'
).
format
(
moment
.
HTML5_FMT
.
DATE
);
const
endDate
=
query
.
get
(
'
endDate
'
)
||
moment
().
add
(
1
,
'
days
'
).
format
(
moment
.
HTML5_FMT
.
DATE
);
...
...
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