From 6d9bd02480a575615b0294a748e345cdeb5fbaec Mon Sep 17 00:00:00 2001 From: Olivier Le Thanh Duong Date: Mon, 5 Oct 2009 19:10:25 +0200 Subject: Migrate from RFC2822 to ISO8601 --- unit/test-sms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unit') diff --git a/unit/test-sms.c b/unit/test-sms.c index ac4f1ffd..9c1528c5 100644 --- a/unit/test-sms.c +++ b/unit/test-sms.c @@ -59,12 +59,12 @@ static void print_scts(struct sms_scts *scts, const char *prefix) ts = sms_scts_to_time(scts, &remote); - strftime(buf, 127, "%a, %d %b %Y %H:%M:%S %z", localtime(&ts)); + strftime(buf, 127, "%Y-%m-%dT%H:%M:%S%z", localtime(&ts)); buf[127] = '\0'; g_print("local time: %s\n", buf); - strftime(buf, 127, "%a, %d %b %Y %H:%M:%S %z", &remote); + strftime(buf, 127, "%Y-%m-%dT%H:%M:%S%z", &remote); buf[127] = '\0'; g_print("remote time: %s\n", buf); -- cgit v1.2.3