diff --git a/frappe/utils/data.py b/frappe/utils/data.py index eefca2b96d..91a2151233 100644 --- a/frappe/utils/data.py +++ b/frappe/utils/data.py @@ -253,6 +253,9 @@ def format_datetime(datetime_string, format_string=None): formatted_datetime = datetime.strftime('%Y-%m-%d %H:%M:%S') return formatted_datetime +def weekdays(): + return ['Monday', 'Tuesday', 'Wednesday', 'Thursday','Friday', 'Saturday', 'Sunday'] + def global_date_format(date, format="long"): """returns localized date in the form of January 1, 2012""" date = getdate(date)