Skip to content

Master accurate remaining days 6175442 jucop#17998

Open
jucop-odoo wants to merge 1 commit into
masterfrom
master-accurate-remaining-days-6175442-jucop
Open

Master accurate remaining days 6175442 jucop#17998
jucop-odoo wants to merge 1 commit into
masterfrom
master-accurate-remaining-days-6175442-jucop

Conversation

@jucop-odoo
Copy link
Copy Markdown

Luxon is not very accurate when the field is close to today: If today is Apr 30, so a deadline set to May 1 will be displayed as "Next month". In practice, it is not wrong, but it is not very accurate.

The widget name 'RemainingDaysField' was misleading as it implies a focus on future countdowns, whereas the widget is also used for past dates.

task-6175442

@robodoo
Copy link
Copy Markdown
Collaborator

robodoo commented May 19, 2026

Pull request status dashboard

@jucop-odoo jucop-odoo marked this pull request as ready for review May 20, 2026 07:42
@C3POdoo C3POdoo requested a review from a team May 20, 2026 08:03
@jucop-odoo jucop-odoo force-pushed the master-accurate-remaining-days-6175442-jucop branch from 65396f7 to 922f876 Compare May 21, 2026 11:28
@C3POdoo C3POdoo requested a review from a team May 21, 2026 11:41
@mcsi-odoo mcsi-odoo requested review from mcsi-odoo and removed request for a team May 21, 2026 11:44
Luxon is not very accurate when the field is close to today: If today is
Apr 30, so a deadline set to May 1 will be displayed as "Next month".
In practice, it is not wrong, but it is not very accurate.

The widget name 'RemainingDaysField' was misleading as it implies
a focus on future countdowns, whereas the widget is also used for past
dates.

task-6175442
@jucop-odoo jucop-odoo force-pushed the master-accurate-remaining-days-6175442-jucop branch from 922f876 to 0468665 Compare May 21, 2026 11:47
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.

2 participants