Skip to content
Snippets Groups Projects
Commit 204f450a authored by Rémi - Le Filament's avatar Rémi - Le Filament
Browse files

[FIX] year in iso format

parent b9e3bc04
Branches
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ class AccEnedisCdc(models.Model):
res = super()._read_group_process_groupby(gb, query)
if self._context.get("portal_acc_curves"):
if res["type"] == "datetime":
res["display_format"] = "dd/MM/YYYY HH:mm"
res["display_format"] = "dd/MM/yyyy HH:mm"
if initial_gb == "date_slot:minute":
res["groupby"] = res["groupby"].replace("hour", "minute")
res["interval"] = relativedelta(minutes=30)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment