Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ICAT
Datahub
Commits
91aab0c1
Commit
91aab0c1
authored
Jun 17, 2021
by
Alejandro De Maria Antolinos
Browse files
It closes
#510
parent
f35d8298
Pipeline
#48861
passed with stage
in 3 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/containers/LogbookStatsPage.js
View file @
91aab0c1
...
...
@@ -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
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