#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>