Skip to content

Commit

Permalink
Update build time to less busy period
Browse files Browse the repository at this point in the history
  • Loading branch information
tomncooper committed Oct 13, 2024
1 parent 1bd8cd8 commit 9024d2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
schedule:
- cron: "0 9 * * *"
- cron: "30 9 * * *"

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion kipper/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def calculate_status(last_mention: Timestamp) -> KIPStatus:
"""Calculates the appropriate KIPStatus instance based on the time
difference between now and the last mention."""

now: Timestamp = to_datetime(dt.datetime.utcnow(), utc=True)
now: Timestamp = to_datetime(dt.datetime.now(dt.timezone.utc), utc=True)
diff: Timedelta = now - last_mention

if diff <= KIPStatus.GREEN.duration:
Expand Down

0 comments on commit 9024d2e

Please sign in to comment.