BC, LC: Disable time delegate (fix #23).

This commit is contained in:
Pierre-Antoine Rouby committed 2023-11-27 09:37:23 +01:00
1 parent a88b42a8ef
commit b4ee76416e
4 files changed
+6 -2

No files matched your search

@@ -191,6 +191,8 @@ class LateralContribution(SQLSubModel):
if type(data) is str:
if data.count(":") == 3:
return old_pamhyr_date_to_timestamp(data)
if data.count(":") == 2:
return old_pamhyr_date_to_timestamp("00:" + data)
if data.count(".") == 1:
return round(float(data))