glib/tests/bookmarks
Emmanuele Bassi bcdc09e641 Do not set the timestamp value using time(), as it will be overwritten
2008-07-21  Emmanuele Bassi  <ebassi@gnome.org>

	* glib/gbookmarkfile.c:
	(bookmark_app_info_new): Do not set the timestamp value
	using time(), as it will be overwritten anyway. (#535223,
	Michael Meeks)

	(parse_application_element),
	(bookmark_app_info_dump): Support the "modified" attribute,
	which takes an ISO-formatted string instead of a Unix time
	stamp, to keep the number of g_strdup_printf() calls to a
	minimum.

	* glib/gtimer.c:
	(g_time_val_to_iso8601): Do not use strftime(): we know
	the format and contents of the ISO 8601 date format we
	use.

	* tests/bookmarks/valid-03.xbel: Add a test file for the
	modified attribute.

svn path=/trunk/; revision=7231
2008-07-21 13:05:24 +00:00
..
fail-01.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-02.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-03.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-04.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-05.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-06.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-07.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-08.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-09.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-10.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-11.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-12.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-13.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-14.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-15.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-16.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
fail-17.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
valid-01.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
valid-02.xbel Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
valid-03.xbel Do not set the timestamp value using time(), as it will be overwritten 2008-07-21 13:05:24 +00:00