Fix validation error for missing keys
Use request.body not the deprecated request.raw_post_data
Fix error with timezone setting

datetime.replace() returns a new datetime, it doesn't mutate.