1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

Fixed stats date range

This commit is contained in:
Eldad Fux 2020-05-18 14:26:52 +03:00
parent 7fe827ee19
commit 6d72accc14

View file

@ -175,7 +175,7 @@ $utopia->get('/v1/projects/:projectId/usage')
], ],
'last30' => [ 'last30' => [
'start' => DateTime::createFromFormat('U', strtotime('-30 days')), 'start' => DateTime::createFromFormat('U', strtotime('-30 days')),
'end' => DateTime::createFromFormat('U', strtotime('today')), 'end' => DateTime::createFromFormat('U', strtotime('tomorrow')),
'group' => '1d', 'group' => '1d',
], ],
'last90' => [ 'last90' => [