Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#28530 closed Bug (fixed)

SelectDateWidget localizes years in select box

Reported by: tpazderka Owned by: caleb logan
Component: Forms Version: 1.11
Severity: Release blocker Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Labels for year_choices for SelectDateWidget are assigned as integers and thus they are rendered with thousand separators in place.

They should be assigned as strings in order to bypass number formatting.

Change History (6)

comment:1 Changed 3 years ago by Tim Graham

Severity: NormalRelease blocker
Triage Stage: UnreviewedAccepted

I didn't try to reproduce yet, but I suppose that's similar to #28303 and #28075.

comment:2 in reply to:  1 Changed 3 years ago by tpazderka

Replying to Tim Graham:

I didn't try to reproduce yet, but I suppose that's similar to #28303 and #28075.

Yes, this issue is a variation to both tickets.

comment:3 Changed 3 years ago by caleb logan

Owner: changed from nobody to caleb logan
Status: newassigned

comment:4 Changed 3 years ago by Tim Graham

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:5 Changed 3 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: assignedclosed

In 9e2bf65d:

Fixed #28530 -- Prevented SelectDateWidget from localizing years in output.

comment:6 Changed 3 years ago by Tim Graham <timograham@…>

In 3bb03df0:

[1.11.x] Fixed #28530 -- Prevented SelectDateWidget from localizing years in output.

Backport of 9e2bf65d6a5dc3b53db84f4839652f0d154349ee from master

Note: See TracTickets for help on using tickets.
Back to Top