IPC acumulado desde cli

This commit is contained in:
2023-11-30 00:06:21 -03:00
parent 68821fb0d3
commit d0a85b2149
3 changed files with 6 additions and 5 deletions

View File

@ -17,7 +17,7 @@ class IPC
if ($to > $now) {
return 0;
}
$dateKey = "{$from->format('Y-m')}-{$to->format('Y-m')}";
$dateKey = "{$from->format('Y-m')}|{$to->format('Y-m')}";
$ipcs = [];
try {
$ipcs = json_decode($this->redisService->get($this->redisKey), JSON_OBJECT_AS_ARRAY);