Skip to content

models/report: save only if report date is in the past #50

@anoff

Description

@anoff

to prevent incidents like #16:

add sanity check for espionage reports, reported date cannot be in the future.

This however only catches timezone offsets in one direction. Checking if the report date is close to current date does not make sense because it would limit the possibility to upload reports that have not been uploaded before and are therefore "old".

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions