This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Didnot work strftime() when hangeul in format sting
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.4
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: leop0ld, matrixise, terry.reedy
Priority: normal Keywords:

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) * (Python committer) 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) * (Python committer) 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) * (Python committer) 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:57adminsetgithub: 76967
2018-02-10 03:45:18terry.reedysetstatus: open -> closed

nosy: + terry.reedy
messages: + msg311933

resolution: out of date
stage: resolved
2018-02-08 01:14:09larrysetnosy: - larry
2018-02-08 01:06:25leop0ldsetmessages: + msg311812
2018-02-07 11:02:53larrysetnosy: larry, matrixise, leop0ld
messages: + msg311784
components: + Library (Lib), - Argument Clinic
2018-02-07 09:47:32matrixisesetnosy: + matrixise
messages: + msg311779
2018-02-07 07:37:54leop0ldcreate