This bug report originated from issue QTBUG-2682
--- Description ---
Consider the following HTML page, displayed with QtWebKit and using ja_JP.UTF-8 locale:
var localeDate = new Date();
The expected result is "2008年08月27日".
The actual result is "2008￥ﾹﾴ08￦ﾜﾈ27￦ﾗ".
Qt shares the toLocaleDateString() implementation with other platforms, the only one currently with a custom implementation is Mac.
Confirmed in trunk. This works fine in Qt's calendar widget example, so we should probably go though Qt there to get the right behavior for the platform.
It seems to be working fine. Confirmed it on code in trunk on Ubuntu system. The result is 2011年02月14日.
Tested on the following versions:
trunk: not affected
2.1 (branch): not affected
2.0 (qt47): affected
(Linux Fedora 13, Qt-4.7)
Since trunk is fine, I'm closing the bug. The next version of QtWebKit (2.1) will also be fine. Thanks for reporting it.