-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue with en_AU locale #1133
issue with en_AU locale #1133
Comments
Can i be assigned to this problem ? Thanks ! |
Go for it :) |
The date formatting for Also, I'll try to fix it.... See also:
>>> date_strings = '2005-01-01 2005-01-02 2005-12-31 2006-01-01 2006-01-02 2006-12-31 2007-01-01 2007-12-30 2007-12-31 2008-01-01 2008-12-28 2008-12-29 2008-12-30 2008-12-31 2009-01-01 2009-12-31 2010-01-01 2010-01-02 2010-01-03'
>>> for d in map(parse_date, date_strings.split()):
... print('{} {} {}'.format(
... d,
... '%04d-W%02d-%d' % d.isocalendar(),
... format_date(d, format="YYYY-'W'ww-e", locale='de_DE'),
... ))
...
2005-01-01 2004-W53-6 2004-W01-6
2005-01-02 2004-W53-7 2004-W01-7
2005-12-31 2005-W52-6 2005-W52-6
2006-01-01 2005-W52-7 2005-W52-7
2006-01-02 2006-W01-1 2006-W01-1
2006-12-31 2006-W52-7 2006-W52-7
2007-01-01 2007-W01-1 2007-W01-1
2007-12-30 2007-W52-7 2007-W52-7
2007-12-31 2008-W01-1 2008-W01-1
2008-01-01 2008-W01-2 2008-W01-2
2008-12-28 2008-W52-7 2008-W52-7
2008-12-29 2009-W01-1 2009-W01-1
2008-12-30 2009-W01-2 2009-W01-2
2008-12-31 2009-W01-3 2009-W01-3
2009-01-01 2009-W01-4 2009-W01-4
2009-12-31 2009-W53-4 2009-W53-4
2010-01-01 2009-W53-5 2009-W01-5
2010-01-02 2009-W53-6 2009-W01-6
2010-01-03 2009-W53-7 2009-W01-7 |
Overview Description
When I use the en_AU locale, the date format for 2023-12-31 places it into W1 of 2023.
I would expect this to be W53 of 2023 or possible W1 of 2024.
Steps to Reproduce
Actual Results
'W1 2023'
Expected Results
'W53 2023'
The text was updated successfully, but these errors were encountered: