After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 437898 - gnucash can't use in chinese locale
gnucash can't use in chinese locale
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Register
2.1.x
Other All
: Normal normal
: ---
Assigned To: David Hampton
Chris Shoemaker
: 368937 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-05-12 13:29 UTC by gorf
Modified: 2018-06-29 21:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gorf 2007-05-12 13:29:14 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:
Comment 1 Andreas Köhler 2007-05-13 15:03:51 UTC
Fixed in r16081 for GnuCash 2.1.2.  Thanks for the report!
Comment 2 Christian Stimming 2007-05-14 08:55:06 UTC
Maybe this fixes bug#368937 as well?
Comment 3 Andreas Köhler 2007-05-14 09:23:05 UTC
*** Bug 368937 has been marked as a duplicate of this bug. ***
Comment 4 John Ralls 2018-06-29 21:36:50 UTC
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.