]> Pileus Git - ~andy/gtk/commit
Use GetLocaleInfo() on Windows to get the localized weekday and month
authorTor Lillqvist <tml@novell.com>
Mon, 28 Nov 2005 01:51:08 +0000 (01:51 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 28 Nov 2005 01:51:08 +0000 (01:51 +0000)
commit954deb7bf3df039e24cd01b65b0fa2be287898c7
tree9bfe5b07d302d9b9730d5e7669aea0ab8270c3ff
parentd3a05fe03c3b5a032ad5b9e010de1376d1ad5d28
Use GetLocaleInfo() on Windows to get the localized weekday and month

2005-11-28  Tor Lillqvist  <tml@novell.com>

* gtk/gtkcalendar.c (gtk_calendar_init): Use GetLocaleInfo() on
Windows to get the localized weekday and month names. strftime()
in the Microsoft C library returns strings in the default codepage
for the locale of the process, not the system codepage. Thus
g_locale_to_utf8() isn't useable on the return value from
strftime(). (#322603)
ChangeLog
ChangeLog.pre-2-10
gtk/gtkcalendar.c