From 9a0f54fe92112003dbb2687329192968ed862913 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 20 Jul 2006 09:52:22 +0000 Subject: Improve doc for g_date_strftime(). (#346197) 2006-07-20 Tor Lillqvist * glib/tmpl/date.sgml: Improve doc for g_date_strftime(). (#346197) --- docs/reference/ChangeLog | 5 +++++ docs/reference/glib/tmpl/date.sgml | 17 ++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index bf55e476e..095959aaa 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2006-07-20 Tor Lillqvist + + * glib/tmpl/date.sgml: Improve doc for + g_date_strftime(). (#346197) + 2006-07-05 Matthias Clasen * glib/tmpl/base64.sgml: Remove bogus reference diff --git a/docs/reference/glib/tmpl/date.sgml b/docs/reference/glib/tmpl/date.sgml index 4abf160de..4ae06be5d 100644 --- a/docs/reference/glib/tmpl/date.sgml +++ b/docs/reference/glib/tmpl/date.sgml @@ -685,9 +685,20 @@ to be a Sunday.) Generates a printed representation of the date, in a locale-specific -way. Works just like the standard C strftime() -function, but only accepts date-related formats; time-related formats -give undefined results. Date must be valid. +way. Works just like the platform's C library +strftime() function, but only accepts +date-related formats; time-related formats give undefined +results. Date must be valid. Unlike strftime() +(which uses the locale encoding), works on a UTF-8 format string and +stores a UTF-8 result. + + + +This function does not provide any conversion specifiers in addition +to those implemented by the platform's C library. For example, don't +expect that using g_date_strftime() would make +the %F provided by the C99 strftime() work on +Windows where the C library only complies to C89. @s: destination buffer. -- cgit v1.2.3