14299 change timestamp to isoformat

This commit is contained in:
Arthur 2023-11-22 14:37:02 -08:00
parent d52a6d3b10
commit 6fb01a0487
2 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,7 @@ class Job(models.Model):
model_name=self.object_type.model,
event=event,
data=self.data,
timestamp=str(timezone.now()),
timestamp=str(timezone.now().isoformat()),
username=self.user.username,
retry=get_rq_retry()
)

View File

@ -115,7 +115,7 @@ def flush_webhooks(queue):
event=data['event'],
data=data['data'],
snapshots=data['snapshots'],
timestamp=str(timezone.now()),
timestamp=str(timezone.now().isoformat()),
username=data['username'],
request_id=data['request_id'],
retry=get_rq_retry()