Skip to content

Conversation

@giordano
Copy link
Contributor

@giordano giordano commented Oct 17, 2025

Description

Current formatting of time in "sleeping until" message doesn't include leading zeros for single-digit minutes (and hours), which is odd:

>>> import time
>>> wait_until_time = time.localtime(1760684520)
>>> f"sleeping until {wait_until_time.tm_hour}:{wait_until_time.tm_min}"
'sleeping until 8:2'
>>> f"sleeping until {wait_until_time.tm_hour:02d}:{wait_until_time.tm_min:02d}"
'sleeping until 08:02'

Signed commits

  • Yes, I signed my commits.

Current formatting of time in "sleeping until" message doesn't including leading zeros for single digits minutes (and hours), which is odd:

```python
>>> import time
>>> wait_until_time = time.localtime(1760684520)
>>> f"sleeping until {wait_until_time.tm_hour}:{wait_until_time.tm_min}"
'sleeping until 8:2'
>>> f"sleeping until {wait_until_time.tm_hour:02d}:{wait_until_time.tm_min:02d}"
'sleeping until 08:02'
```

Signed-off-by: Mosè Giordano <765740+giordano@users.noreply.github.com>
Copy link
Member

@sgoggins sgoggins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sgoggins sgoggins added the bug-fix Fixes a bug label Oct 22, 2025
@sgoggins sgoggins requested a review from MoralCode October 22, 2025 00:26
@sgoggins sgoggins added deployed version Live problems with deployed versions server Related to the Augur server devops Development Operations ready Items tested and seeking additional approvals or a merge. Usually for items under active development labels Oct 22, 2025
Copy link
Contributor

@MoralCode MoralCode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! Seems like the CI is passing and this is trivial enough where id be comfortable merging without having run it

@MoralCode MoralCode merged commit a632b04 into chaoss:main Oct 22, 2025
10 checks passed
@giordano giordano deleted the patch-1 branch October 22, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix Fixes a bug deployed version Live problems with deployed versions devops Development Operations ready Items tested and seeking additional approvals or a merge. Usually for items under active development server Related to the Augur server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants