mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
remove comments
This commit is contained in:
@@ -27,18 +27,6 @@ def get_appointment_settings():
|
|||||||
def get_timezones():
|
def get_timezones():
|
||||||
import pytz
|
import pytz
|
||||||
return pytz.all_timezones
|
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)
|
@frappe.whitelist(allow_guest=True)
|
||||||
def get_appointment_slots(date, timezone):
|
def get_appointment_slots(date, timezone):
|
||||||
|
|||||||
Reference in New Issue
Block a user