glib r5338 - in branches/glib-2-12: . glib



Author: tml
Date: 2007-02-17 08:34:39 +0000 (Sat, 17 Feb 2007)
New Revision: 5338
ViewCVS link: http://svn.gnome.org/viewcvs/glib?rev=5338&view=rev

Modified:
   branches/glib-2-12/ChangeLog
   branches/glib-2-12/glib/gdate.c
Log:
2007-02-17  Tor Lillqvist  <tml novell com>

	* glib/gdate.c (win32_strftime_helper): New Win32-only
	function. Use the wide character Win32 API to do the work of
	strftime(): GetThreadLocale(), GetLocaleInfoW(), GetDateFormatW()
	and GetTimeFormatW().
	(g_date_strftime): On NT-based Windows use win32_strftime_helper()
	instead of strftime() to avoid codepage issues with strftime().
	Unfortunately using wcsftime() would not help either. (#404832)






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]