check_date_time() in scripts/validate_metadata/validate_metadata.py currently allows lastVerified values in the future because (now - dt).days becomes negative and will never be >= 365. This lets assets bypass the "fresh within 12 months" policy and can also cause check_component_freshness.py to treat future-dated assets as extra-fresh (negative age).
Future timestamps should be explicitly rejected.
Reference: #180 (comment)
check_date_time()inscripts/validate_metadata/validate_metadata.pycurrently allowslastVerifiedvalues in the future because(now - dt).daysbecomes negative and will never be>= 365. This lets assets bypass the "fresh within 12 months" policy and can also causecheck_component_freshness.pyto treat future-dated assets as extra-fresh (negative age).Future timestamps should be explicitly rejected.
Reference: #180 (comment)