Skip to content

Commit

Permalink
Fix minor bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
MycroftKang committed Nov 29, 2022
1 parent a69683f commit 66952ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/canary-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:
manual:
description: "Manual Build"
required: true
default: "true"
type: boolean
default: true

jobs:
check:
Expand Down
1 change: 0 additions & 1 deletion src/bot/core/controllers/discord/clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ async def cancel_all(self):


def get_clock_content(tz, offset):
now = datetime.now()
d = pytz.utc.localize(datetime.utcnow()).astimezone(tz)
ct = d.strftime("%I:%M %p")
return f"{clock_emoji[d.hour%12]} {ct} ({offset})"
Expand Down

0 comments on commit 66952ad

Please sign in to comment.