Issue 32786: Didnot work strftime() when hangeul in format sting
Created on 2018-02-07 07:37 by leop0ld, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| 스크린샷 2018-02-07 오후 3.24.05.png | leop0ld, 2018-02-07 07:37 | |||
| Messages (5) | |||
|---|---|---|---|
| msg311771 - (view) | Author: Myungseo Kang (leop0ld) | Date: 2018-02-07 07:37 | |
Good morning. I have a question while writing Python code in Django. I got empty string when I ran code in a screenshot. But it works in python interprerter(python manage.py shell). I don't know why it works or didn't work. I think maybe hangeul is related. Please confirm this issue. I used Django 1.11, Python 3.4.4 version. |
|||
| msg311779 - (view) | Author: Stéphane Wirtel (matrixise) * ![]() |
Date: 2018-02-07 09:47 | |
Thank you for your contribution, Just one question, do you have the same issue with Python 3.6 because Python 3.4 is a security release, Python 3.6 is a bugfix release. Thank you, |
|||
| msg311784 - (view) | Author: Larry Hastings (larry) * ![]() |
Date: 2018-02-07 11:02 | |
This is not an Argument Clinic problem. |
|||
| msg311812 - (view) | Author: Myungseo Kang (leop0ld) | Date: 2018-02-08 01:06 | |
It works correctly in python 3.6
I think this problem is occured only python 3.4
First, I changed this code like below.
```
'{0:%Y}년 {0:%-m}월 {0:%-d}일'.format(proposal.hold_end_date)
```
But I wonder why doesn't work in only python 3.4
|
|||
| msg311933 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2018-02-10 03:45 | |
There are hundreds of bug fixes in 3.6 that are not in 3.4. If there is a Django version that works with 3.6 and you can otherwise upgrade, think about doing so. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:57 | admin | set | github: 76967 |
| 2018-02-10 03:45:18 | terry.reedy | set | status: open -> closed nosy:
+ terry.reedy resolution: out of date |
| 2018-02-08 01:14:09 | larry | set | nosy:
- larry |
| 2018-02-08 01:06:25 | leop0ld | set | messages: + msg311812 |
| 2018-02-07 11:02:53 | larry | set | nosy:
larry, matrixise, leop0ld messages: + msg311784 components: + Library (Lib), - Argument Clinic |
| 2018-02-07 09:47:32 | matrixise | set | nosy:
+ matrixise messages: + msg311779 |
| 2018-02-07 07:37:54 | leop0ld | create | |
