fix: correctly add datetime field as datetime in json migration

This commit is contained in:
Travis Abendshien
2026-05-08 13:14:21 -07:00
parent 51104c053e
commit e11f63c576

View File

@@ -344,7 +344,7 @@ class Library:
),
)
elif LEGACY_FIELD_MAP[legacy_field_id]["type"] == DatetimeField:
self.add_text_field_to_entry(
self.add_datetime_field_to_entry(
entry_id=(
entry.id + 1
), # NOTE: JSON IDs start at 0 instead of 1