[issue32786] Didnot work strftime() when hangeul in format sting

2018-02-06 Thread Myungseo Kang

New submission from Myungseo Kang :

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.

--
components: Argument Clinic
files: 스크린샷 2018-02-07 오후 3.24.05.png
messages: 311771
nosy: larry, leop0ld
priority: normal
severity: normal
status: open
title: Didnot work strftime() when hangeul in format sting
type: behavior
versions: Python 3.4
Added file: https://bugs.python.org/file47427/스크린샷 2018-02-07 오후 
3.24.05.png

___
Python tracker 
<https://bugs.python.org/issue32786>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32786] Didnot work strftime() when hangeul in format sting

2018-02-07 Thread Myungseo Kang

Myungseo Kang  added the comment:

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

--

___
Python tracker 
<https://bugs.python.org/issue32786>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com