fix: set timestamp for new log in quick eggs form
This commit is contained in:
parent
90ff7eb793
commit
7890b18568
1 changed files with 1 additions and 0 deletions
|
|
@ -196,6 +196,7 @@ class EggsQuickForm(QuickFormView):
|
||||||
"type": "log--harvest",
|
"type": "log--harvest",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"name": f"Collected {data['count']} {unit_name}",
|
"name": f"Collected {data['count']} {unit_name}",
|
||||||
|
"timestamp": self.app.localtime(data["timestamp"]).timestamp(),
|
||||||
"notes": notes,
|
"notes": notes,
|
||||||
"quick": ["eggs"],
|
"quick": ["eggs"],
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue