pytumblr
pytumblr copied to clipboard
Date not observed for video posts
Hi,
for video posts the date parameter does not seem to be observed for video uploads.
with my_date = '16.12.2014'
post_id = client.create_photo("xxx", state="published", date=my_date,
caption=caption, tags=tags, data=tumblr_photos)
creates the right post
post_id = client.create_video("xxx", state="published", date=my_date,
caption=caption, tags=tags, data=tumblr_video)
does not...
Daniel
Just for testing I executed those commands directly after one another:
post_id = client.create_text("xxx", state="published", date="16.1.2014",
title=caption, body="Hallo", tags=tags, format=html_or_markdown)
post_id = client.create_video("xxx", state="published", date="16.1.2014",
caption=caption, tags=tags, data=tumblr_video, format=html_or_markdown)
The first one creates a text entry with the correct date. The second creates a video with the current date...
Any hints why? Daniel