Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
LLLE_Project
Ecolyo
Commits
49b74c78
Commit
49b74c78
authored
May 05, 2022
by
Guilhem CARRON
Browse files
set purge date to 11 may
parent
478d6a1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/targets/services/aggregatorUsageEvents.ts
View file @
49b74c78
...
...
@@ -1339,7 +1339,7 @@ const AggregatorUsageEvents = async ({
})
.
startOf
(
'
day
'
)
const
lastMonth
=
5
if
(
today
.
day
===
3
&&
today
.
month
===
lastMonth
)
{
if
(
today
.
day
===
11
&&
today
.
month
===
lastMonth
)
{
let
monthToAggregate
=
1
for
(
monthToAggregate
;
monthToAggregate
<=
lastMonth
;
monthToAggregate
++
)
{
await
calculateConsumptionVariation
(
client
,
monthToAggregate
)
...
...
build-token
@project_409_bot
mentioned in commit
664667f3
·
May 05, 2022
mentioned in commit
664667f3
mentioned in commit 664667f31efb755ff4b73783c638848fa458cefb
Toggle commit list
Write
Preview
Supports
Markdown
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