fix(awooop): store outbound sent timestamp as naive utc
This commit is contained in:
@@ -489,7 +489,11 @@ async def record_outbound_message(
|
||||
source_envelope_json = json.dumps(envelope, ensure_ascii=False, default=str)
|
||||
|
||||
actual_status = "shadow" if is_shadow else send_status
|
||||
sent_at = datetime.now(UTC) if actual_status == "sent" else None
|
||||
sent_at = (
|
||||
datetime.now(UTC).replace(tzinfo=None)
|
||||
if actual_status == "sent"
|
||||
else None
|
||||
)
|
||||
|
||||
await ensure_completed_shadow_run(
|
||||
db,
|
||||
|
||||
Reference in New Issue
Block a user