Add comemnts for tz conversions
diff --git a/erpnext/www/book-appointment/index.py b/erpnext/www/book-appointment/index.py
index 9765e5e..707be67 100644
--- a/erpnext/www/book-appointment/index.py
+++ b/erpnext/www/book-appointment/index.py
@@ -79,13 +79,15 @@
 
 @frappe.whitelist(allow_guest=True)
 def create_appointment(date, time, tz, contact):
-	appointment = frappe.new_doc('Appointment')
 	format_string = '%Y-%m-%d %H:%M:%S%z'
-	scheduled_time = datetime.datetime.strptime(date+" "+time, format_string)
+	scheduled_time = datetime.datetime.strptime(date + " " + time, format_string)
+	# Strip tzinfo from datetime objects since it's handled by the doctype
 	scheduled_time = scheduled_time.replace(tzinfo=None)
 	scheduled_time = convert_to_system_timezone(tz, scheduled_time)
 	scheduled_time = scheduled_time.replace(tzinfo=None)
+	# Create a appointment document from form
 	appointment.scheduled_time = scheduled_time
+	appointment = frappe.new_doc('Appointment')
 	contact = json.loads(contact)
 	appointment.customer_name = contact.get('name',None)
 	appointment.customer_phone_number = contact.get('number', None)