Instagram/python-instagram — Issue #19: Dropping timestamp_to_datetime?
Author: michaelhelmick
Created: 2012-02-27 05:39:01+00:00
State: open

So, I was working with the API and realized that the Models convert the timestamp to a datetime object; I was wondering if this 'helper' should actually be dropped from being enforced on the Model and just given to the user incase they wanted to use it, because it's a lot harder to reverse a datetime to timestamp than it is converting a timestamp to datetime.

So, the gist of my idea: Remove enforcing the created_time from being turned into a datetime object to just returning it to the user as an int, but still give them the helper function 'timestamp_to_datetime' in case they wanted to turn it into a datetime object.