Revert "refactor: use renamed timezone utils (#34301)"

Revert "refactor: use renamed timezone utils (#34301)"

This reverts commit 164933aae8.
This commit is contained in:
Deepesh Garg
2023-03-07 17:56:57 +05:30
committed by GitHub
parent 164933aae8
commit a2e001a2da
3 changed files with 5 additions and 7 deletions

View File

@@ -13,8 +13,8 @@ from frappe.utils import (
get_datetime,
get_datetime_str,
get_link_to_form,
get_system_timezone,
get_time,
get_time_zone,
get_weekdays,
getdate,
nowdate,
@@ -978,7 +978,7 @@ def convert_utc_to_user_timezone(utc_timestamp, user):
def get_tz(user):
return frappe.db.get_value("User", user, "time_zone") or get_system_timezone()
return frappe.db.get_value("User", user, "time_zone") or get_time_zone()
@frappe.whitelist()