diff options
author | Olivier Le Thanh Duong <olivier.le.thanh@collabora.co.uk> | 2009-10-05 19:10:25 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-10-21 19:04:47 -0500 |
commit | 6d9bd02480a575615b0294a748e345cdeb5fbaec (patch) | |
tree | e3af7f29a08daaeb2e0386cb7daad575622e0701 /unit/test-sms.c | |
parent | 1b13ce308f0aabefa2da63ac77c6035948d6b4d1 (diff) | |
download | ofono-6d9bd02480a575615b0294a748e345cdeb5fbaec.tar.gz |
Migrate from RFC2822 to ISO8601
Diffstat (limited to 'unit/test-sms.c')
-rw-r--r-- | unit/test-sms.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |