Commit f28ad337 authored by Pierre Dittgen's avatar Pierre Dittgen

Add date to report

parent ef1ddef9
Pipeline #2378 passed with stage
in 1 minute and 57 seconds
import logging
from datetime import datetime, timezone
import frictionless
......@@ -55,4 +56,7 @@ def validate(source, schema, **options):
# TODO: translate error messages
# Add date
report['date'] = datetime.now(timezone.utc).isoformat()
return report
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment