Browse Source

remove comments

develop
0Pranav 5 years ago
parent
commit
e786eea7db
  1. 12
      erpnext/www/book_appointment/index.py

12
erpnext/www/book_appointment/index.py

@ -27,18 +27,6 @@ def get_appointment_settings():
def get_timezones():
import pytz
return pytz.all_timezones
# from babel.dates import get_timezone, get_timezone_name, Locale
# from frappe.utils.momentjs import get_all_timezones
# translated_dict = {}
# locale = Locale.parse(frappe.local.lang, sep="-")
# for tz in get_all_timezones():
# timezone_name = get_timezone_name(get_timezone(tz), locale=locale, width='short')
# if timezone_name:
# translated_dict[tz] = timezone_name + ' - ' + tz
# return translated_dict
@frappe.whitelist(allow_guest=True)
def get_appointment_slots(date, timezone):

Loading…
Cancel
Save