GNOME Bugzilla – Bug 437898
gnucash can't use in chinese locale
Last modified: 2018-06-29 21:36:50 UTC
Please describe the problem: When I use it in Chinese locale below. I edit the register , the date field is wrong, there will be a very large year like this "1250731年11月30日". This bug still exist at version 2.1.1. $ locale LANG=zh_CN.UTF-8 LC_CTYPE="zh_CN.UTF-8" LC_NUMERIC="zh_CN.UTF-8" LC_TIME="zh_CN.UTF-8" LC_COLLATE="zh_CN.UTF-8" LC_MONETARY="zh_CN.UTF-8" LC_MESSAGES="zh_CN.UTF-8" LC_PAPER="zh_CN.UTF-8" LC_NAME="zh_CN.UTF-8" LC_ADDRESS="zh_CN.UTF-8" LC_TELEPHONE="zh_CN.UTF-8" LC_MEASUREMENT="zh_CN.UTF-8" LC_IDENTIFICATION="zh_CN.UTF-8" LC_ALL=zh_CN.UTF-8 Steps to reproduce: 1. set the locale to zh_CN.UTF-8 2. enter the record in register 3. edit the date Actual results: The year become very big like that. 1250731年11月30日 Expected results: The date should be today. Does this happen every time? every time Other information:
Fixed in r16081 for GnuCash 2.1.2. Thanks for the report!
Maybe this fixes bug#368937 as well?
*** Bug 368937 has been marked as a duplicate of this bug. ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=437898. Please update any external references or bookmarks.