diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-06-13 21:33:38 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-06-13 21:33:38 +0200 |
commit | b7eef1e612b6777860ec05725336e5ed5d228480 (patch) | |
tree | c55dd8cf664470ba4c92bfd8e8801de3f790ce92 | |
parent | flask.jsonify now supports directly lists (diff) | |
download | newspipe-b7eef1e612b6777860ec05725336e5ed5d228480.tar.gz newspipe-b7eef1e612b6777860ec05725336e5ed5d228480.tar.bz2 newspipe-b7eef1e612b6777860ec05725336e5ed5d228480.zip |
Pinboard excpects an ISO 8601 time format.
-rw-r--r-- | src/lib/data.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |