E540 Fixed #35095 -- Updated Swiss number formatting to match common IT practices. by annalauraw · Pull Request #19933 · django/django · GitHub
[go: up one dir, main page]

Skip to content

Conversation

annalauraw
Copy link
@annalauraw annalauraw commented Oct 9, 2025

Trac ticket number

ticket-35095

Branch description

Changes are based on previous PR #19396.

Per Swiss IT conventions, use dot (.) as decimal separator and a non-breaking space (\xa0)
as thousand separator. This aligns with common practices in Swiss operating
systems and applications.

Document context-specific formatting limitations:

Monetary: Fr. 23.50
Measurements: 22,5 m

Since Django cannot handle context-specific formats, follow the more common
IT standard format that uses dot as decimal separator.

Checklist

  • This PR targets the main branch.
  • The commit message is written in past tense, mentions the ticket number, and ends with a period.
  • I have checked the "Has patch" ticket flag in the Trac system.
  • I have added or updated relevant tests.
  • I have added or updated relevant docs, including release notes if applicable.
  • I have attached screenshots in both light and dark modes for any UI changes.

…actices.

Co-Authored-By: Ahmed Nassar <a.moh.nassar00@gmail.com>
Copy link
github-actions bot commented Oct 9, 2025

Hello! Thank you for your contribution 💪

As it's your first contribution be sure to check out the patch review checklist.

If you're fixing a ticket from Trac make sure to set the "Has patch" flag and include a link to this PR in the ticket!

If you have any design or process questions then you can ask in the Django forum.

Welcome aboard ⛵️!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0