Skip to content

rsplit on different timezone format #8

Description

@tijs

in models.py line 105 it's trying to do an rsplit on the "+" character but in my particular python + django install the timestamp has a different format.

This is the line:

timestamp, tz = resp["SubmittedAt"].rsplit("+", 1) 

And this is the timestamp:

u'SubmittedAt': u'2011-09-23T07:39:47.9044908-04:00',

i.e. there is no + sign in that timestamp

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions