Skip to content

fix display of long name day of week#745

Merged
auvipy merged 3 commits into
celery:mainfrom
Akay7:FixDisplayLongnameDayOfWeek
May 4, 2024
Merged

fix display of long name day of week#745
auvipy merged 3 commits into
celery:mainfrom
Akay7:FixDisplayLongnameDayOfWeek

Conversation

@Akay7

@Akay7 Akay7 commented Apr 3, 2024

Copy link
Copy Markdown
Contributor

Fix display of long name for day of week at Admin panel.

issue: #647
previous workaround: 2798e36

Comment thread django_celery_beat/models.py Outdated
Comment thread django_celery_beat/models.py Outdated
Akay7 and others added 2 commits April 3, 2024 12:56
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
@Akay7 Akay7 requested a review from cclauss April 3, 2024 05:57
@auvipy auvipy merged commit cf23996 into celery:main May 4, 2024
@Akay7 Akay7 deleted the FixDisplayLongnameDayOfWeek branch May 4, 2024 09:06
@alexandre-paroissien

Copy link
Copy Markdown

Hi team, just noticed a potential issue with this change (edge case), created issue there #796

Comment thread t/unit/test_models.py
("mon", "Monday"),
("Monday,tue", "Monday and Tuesday"),
("sat-sun/2", "Saturday"),
("mon-wed", "Monday, Tuesday, and Wednesday"),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess we were missing a good all_days_of_the_week test here.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @cclauss, I added a fix for all days of the week and more test cases here: #797.

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.

6 participants