Skip to content

De-duplicate get_human_day function #5498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

De-duplicate get_human_day function #5498

wants to merge 3 commits into from

Conversation

quis
Copy link
Member

@quis quis commented Jun 5, 2025

This was defined in 2 places.

To make it work everywhere I had to add a flag which controls whether the day of the week (for example, Monday, Tuesday) is included.

quis added 3 commits June 5, 2025 11:58
This was defined in 2 places.

To make it work everywhere I had to add a flag which controls whether
the day ofthe week (for example, Monday, Tuesday) is included.
This is more consistent: first we define the part of the string, then we
munge all the parts together
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant