[issue17048] calendar should understand full- vs. half-width characters

Robert Booth report at bugs.python.org
Sun Jan 28 16:30:28 EST 2018


Robert Booth <rob at ishigoya.com> added the comment:

There is similar misaligned output in Japanese and Korean:

Korean:
         1월                        2월                        3월
월  화  수  목  금  토  일       월  화  수  목  금  토  일       월  화  수  목  금  토  일
 1  2  3  4  5  6  7                1  2  3  4                1  2  3  4
 8  9 10 11 12 13 14       5  6  7  8  9 10 11       5  6  7  8  9 10 11

Japanese:
         1月                        2月                        3月
月  火  水  木  金  土  日       月  火  水  木  金  土  日       月  火  水  木  金  土  日
 1  2  3  4  5  6  7                1  2  3  4                1  2  3  4
 8  9 10 11 12 13 14       5  6  7  8  9 10 11       5  6  7  8  9 10 11

I came across this issue while using khal, a command-line calendar. That program also uses the calendar.LocaleTextCalendar class. I've raised an issue at https://github.com/pimutils/khal/issues/751

----------
nosy: +ishigoya

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue17048>
_______________________________________


More information about the Python-bugs-list mailing list