#36543: French Canadian locale formats times incorrectly
--------------------------------------+------------------------------------
Reporter: Anderson, Chris | Owner: (none)
Type: Bug | Status: new
Component: Internationalization | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Natalia Bidart):
* cc: Claude Paroz, Simon Charette (added)
* stage: Unreviewed => Accepted
* version: 5.2 => dev
Comment:
Thank you @Chris-Anderson_JLLT, I managed to reproduce using:
{{{#!python
import django
from django.utils import timezone, translation, formats
from datetime import time
django.setup()
translation.activate('fr-ca')
print("Formatted time:", formats.time_format(time(13, 40)))
}}}
Which shows:
{{{
Formatted time: 13 01 40
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36543#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019880738cbf-13d9f5ea-7b92-4c18-addd-29f75d80872f-000000%40eu-central-1.amazonses.com.