"glide.ui.date_format.first_day_of_week" property is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 02:16 AM
Hello folks,
I want Sunday as my first day of week thus have created an integer type property and set the value as 1 but it's still showing Monday as the first day of week.
Could anyone please help me on this.
P.S. Cache has already been cleared.
Thanks & Regards,
Atul Chauhan
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 05:47 AM
The property is only applicable for calendar views. Is calendar view not working for you?
See here:
Available System Properties - ServiceNow Wiki
glide.ui.date_format.first_day_of_week
Specifies the first (leftmost) day of the week for calendar views (1=Sunday, 2=Monday...).
- Type: integer
- Default value: 1
- Location: Add to the System Property [sys_properties] table
glide.ui.date_picker.first_day_of_week
Specifies the first (leftmost) day of the week for the date and date/time picker (1=Sunday, 2=Monday...).
- Type: integer
- Default value: 1
- Location: Add to the System Property [sys_properties] table
glide.ui.filter.first_day_of_week
First day of the calendar week for the company. By default, the start of the week is Monday, meaning that the calendar week begins with Monday and ends with Sunday. To change this behavior, add the property glide.ui.filter.first_day_of_week to the instance as an integer property. Set the value to the integer corresponding with the day of the week that the calendar will begin on, where 1 is Sunday, 2 is Monday, and so on. The function impacts all charts and calculations where the day of the week is used as a parameter.
- Type: integer
- Default value: 2
- Location: System Property [sys_properties] table
- Learn more: Performance Analytics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 03:01 AM
Try to use the glide.ui.date_picker.first_day_of_week property instead. Works in Istanbul version