Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow sending a string of the encoded datetime instead of having to s…

…end an actual datetime object.
  • Loading branch information...
commit ddd1f9cd62296120e0188880357f0f9088603385 1 parent 46b4d1c
kopertop authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  boto/sdb/db/manager/
2  boto/sdb/db/manager/
@@ -214,6 +214,8 @@ def decode_float(self, value):
return float(mantissa + 'e' + exponent)
def encode_datetime(self, value):
+ if isinstance(value, str) or isinstance(value, unicode):
+ return value
return value.strftime(ISO8601)
def decode_datetime(self, value):
Please sign in to comment.
Something went wrong with that request. Please try again.