Skip to content

Commit 20aa461

Browse files
committed
use current utc time
1 parent bb12c85 commit 20aa461

File tree

1 file changed

+2
-2
lines changed
  • examples/stock_market_research/src

1 file changed

+2
-2
lines changed

examples/stock_market_research/src/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
from datetime import datetime
2+
from datetime import datetime, timezone
33
import sys
44
from crew import StockmarketresearchCrew
55
import agentstack
@@ -14,7 +14,7 @@ def run():
1414
Run the agent.
1515
"""
1616
inputs = agentstack.get_inputs()
17-
inputs["timestamp"] = datetime.utcnow().isoformat()
17+
inputs["timestamp"] = datetime.now(timezone.utc).isoformat()
1818

1919
instance.kickoff(inputs=inputs)
2020

0 commit comments

Comments
 (0)