Skip to content

Some transaction entries are created with created_at in the past #36

@jkemp101

Description

@jkemp101

Further investigation is needed to determine why some created_at values are in the past when records are created in the transaction table. Related code:

if revision_type == "delete":
created_at = getattr(obj, "deleted_at", None)
# Sometimes categories are deleted explicitly which leaves
# their deleted_at default value, EPOCH, when the
# transaction is created.
if created_at == EPOCH:
created_at = func.now()
else:
created_at = getattr(obj, "updated_at", None)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions