pktck / ParsePy

A Python wrapper for the Parse.com API
GNU General Public License v3.0
79 stars 24 forks source link

Fixed datetime encode bug #1

Open alastairpat opened 12 years ago

alastairpat commented 12 years ago

Fixed bug where if a datetime lacked milisecond precision, it was encoded incorrectly for Parse

exalted commented 12 years ago

@pktck I didn't check if this patch would chop off 3 digits from python datetime.datetime microseconds converting to Parse milliseconds, but for the rest your should definitely accept @alastairpat's patch.

@alastairpat generally you shouldn't add irrelevant commits to your pull request.

Cheers,