fix: set timestamp for new log in quick eggs form

This commit is contained in:
Lance Edgar 2026-03-02 18:33:00 -06:00
parent 90ff7eb793
commit 7890b18568

View file

@ -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"],
}, },