diff src/util.h @ 13215:15b3926e2147

[gaim-migrate @ 15579] gaim_utf8_strftime() should take the format in UTF-8 and convert as necessary. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 10 Feb 2006 21:17:00 +0000
parents 4bb701a8736f
children b04212d6b115
line wrap: on
line diff
--- a/src/util.h	Fri Feb 10 21:16:18 2006 +0000
+++ b/src/util.h	Fri Feb 10 21:17:00 2006 +0000
@@ -223,10 +223,13 @@
  * GMT.  Required to emit RFC822-conformant dates
  * (using "%a, %d %b %Y %H:%M:%S %z"). (GNU)'
  *
- * @param format The format string
+ * @param format The format string, in UTF-8
  * @param tm     The time to format, or @c NULL to use the current local time
  *
  * @return The formatted time, in UTF-8.
+ *
+ * @note @a format is required to be in UTF-8.  This differs from strftime(),
+ *       where the format is provided in the locale charset.
  */
 const char *gaim_utf8_strftime(const char *format, const struct tm *tm);