From b7eef1e612b6777860ec05725336e5ed5d228480 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 13 Jun 2017 21:33:38 +0200 Subject: Pinboard excpects an ISO 8601 time format. --- src/lib/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/data.py b/src/lib/data.py index 9b037b90..483c7100 100644 --- a/src/lib/data.py +++ b/src/lib/data.py @@ -204,7 +204,7 @@ def export_bookmarks(user): 'title': bookmark.title, 'shared': 'yes' if bookmark.shared else 'false', 'toread': 'yes' if bookmark.to_read else 'false', - 'time': bookmark.time, + 'time': bookmark.time.isoformat(), 'tags': ' '.join(bookmark.tags_proxy) }) return jsonify(export) -- cgit