Bug #17512 | Missing function for locale specific month and weekday names | ||
---|---|---|---|
Submitted: | 17 Feb 2006 8:59 | Modified: | 21 Sep 2006 21:43 |
Reporter: | Kristian Koehntopp | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | 5.0.18 | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[17 Feb 2006 8:59]
Kristian Koehntopp
[6 Mar 2006 12:21]
Valeriy Kravchuk
Thank you for a reasonable feature request. I hope, some way to get proper locale-specific monthes and weekday names will be implemented eventually.
[21 Sep 2006 21:43]
Peter Gulutzan
A patch for date_format is now in the server source code. An example of how it works: mysql> set names utf8; Query OK, 0 rows affected (0.00 sec) mysql> set lc_time_names='ja_JP'; Query OK, 0 rows affected (0.00 sec) mysql> select date_format(s1,'%W') from t; +----------------------+ | date_format(s1,'%W') | +----------------------+ | 日曜日 | +----------------------+ 1 row in set (0.00 sec) See also bug#9054.