Fix soup_date_to_string() to deal with non-UTC times correctly
authorDan Winship <danw@gnome.org>
Sat, 18 Apr 2009 15:37:26 +0000 (11:37 -0400)
committerDan Winship <danw@gnome.org>
Sat, 18 Apr 2009 15:42:47 +0000 (11:42 -0400)
commit9a830c22cbf64d71e64b45b20d32f306ecc23a3d
tree9579222c516087a0b0d7f8246ddd61f9f7ac8837
parentc098315ca88f305f2e840a8724a26ffb8cd279ef
Fix soup_date_to_string() to deal with non-UTC times correctly

soup_date_new_from_string: fix setting of UTC vs floating for ISO8601
and RFC2822 timestamps. Allow a time of "24:00:00" (per ISO).

soup_date_to_string: coerce @date to UTC for HTTP and cookie dates,
output correct offset for RFC2822, ISO compact, and ISO full.
libsoup/soup-date.c