mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
BC, LC: Disable time delegate (fix #23).
This commit is contained in:
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))
|
||||
|
||||
|
||||
Reference in new issue
Block a user