From 121ffc0cf7aa041c985df49bd7c8d2eb83723535 Mon Sep 17 00:00:00 2001 From: Himanshu Warekar Date: Thu, 21 Feb 2019 11:17:52 +0530 Subject: [PATCH] renamed function to get_weekdays --- frappe/utils/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/utils/data.py b/frappe/utils/data.py index 91a2151233..6d5d3cf84e 100644 --- a/frappe/utils/data.py +++ b/frappe/utils/data.py @@ -253,7 +253,7 @@ def format_datetime(datetime_string, format_string=None): formatted_datetime = datetime.strftime('%Y-%m-%d %H:%M:%S') return formatted_datetime -def weekdays(): +def get_weekdays(): return ['Monday', 'Tuesday', 'Wednesday', 'Thursday','Friday', 'Saturday', 'Sunday'] def global_date_format(date, format="long"):