diff libpurple/util.h @ 18259:c5c265dff90c

support replying to XEP-0202 queries
author Nathan Walp <nwalp@pidgin.im>
date Sun, 24 Jun 2007 04:53:36 +0000
parents c588a4a9d287
children 700b642631bc
line wrap: on
line diff
--- a/libpurple/util.h	Sun Jun 24 04:51:41 2007 +0000
+++ b/libpurple/util.h	Sun Jun 24 04:53:36 2007 +0000
@@ -257,6 +257,16 @@
 const char *purple_utf8_strftime(const char *format, const struct tm *tm);
 
 /**
+ * Gets a string representation of the local timezone offset
+ *
+ * @param tm   The time to get the timezone for
+ * @param iso  TRUE to format the offset according to ISO-8601, FALSE to
+ *             not substitute 'Z' for 0 offset, and to not separate
+ *             hours and minutes with a colon.
+ */
+const char *purple_get_tzoff_str(const struct tm *tm, gboolean iso);
+
+/**
  * Formats a time into the user's preferred short date format.
  *
  * The returned string is stored in a static buffer, so the result