changeset 29057:8d213c65abad

jabber: Don't use C99 time formatters, which are apparently not available on Windows when using MSVC. committer: Paul Aurich <paul@darkrain42.org>
author Florian Quèze <florian@instantbird.org>
date Sun, 29 Nov 2009 17:36:41 +0000
parents 52dc24a5069f
children 7e4117c5372a b0f1698c52f8 cb8b53a6f238
files libpurple/protocols/jabber/iq.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/iq.c	Sun Nov 29 17:35:00 2009 +0000
+++ b/libpurple/protocols/jabber/iq.c	Sun Nov 29 17:36:41 2009 +0000
@@ -200,7 +200,7 @@
 
 		/* <utc>2006-12-19T17:58:35Z</utc> */
 		tm = gmtime(&now_t);
-		date = purple_utf8_strftime("%FT%TZ", tm);
+		date = purple_utf8_strftime("%Y-%m-%dT%H:%M:%SZ", tm);
 		utc = xmlnode_new_child(child, "utc");
 		xmlnode_insert_data(utc, date, -1);