Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Calendar report - Work_Week view doesn't have the correct days

GuyHome
Tera Expert

Hi,

 

When I add a Calendar Report visualization the work week view goes from Sunday to Thursday instead of Monday to Friday and I'm struggling to find the place to define it.


I've added a calendar report to a par_dashboard like so:

  1. Platform Analytics -> Library -> Dashboards
  2. Find and open <my dashboard> then Edit
  3. Add new element -> Data Visualization -> New Visualization
  4. Change configuration of the new element/visualization
    1. Visualization type = Calendar Report

 

The selected values in configuration for the table, the start & end fields and the default view do not matter. The Work Week view stays Sun-Thu.

 

Where is the work week defined? What needs to change?

 

PS: Same behaviour in developer instance.

GuyHome_1-1763481163595.png

 

Thank you

1 ACCEPTED SOLUTION

Sarthak Kashyap
Mega Sage

Hi @GuyHome ,

 

I tried your problem in PDI and it works for me

SarthakKashyap_0-1763483519415.png

 

Navigate to sys_properties.LIST table and create 2 property 

1 . glide.ui.date_format.first_day_of_week - type integer and value is 2 because 2 is Monday

SarthakKashyap_1-1763483572748.png

 

2. glide.ui.date_format.last_day_of_week - type integer and value is 6 because 6 is Friday 

SarthakKashyap_2-1763483616392.png

 

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

 

View solution in original post

5 REPLIES 5

Sarthak Kashyap
Mega Sage

Hi @GuyHome ,

 

I tried your problem in PDI and it works for me

SarthakKashyap_0-1763483519415.png

 

Navigate to sys_properties.LIST table and create 2 property 

1 . glide.ui.date_format.first_day_of_week - type integer and value is 2 because 2 is Monday

SarthakKashyap_1-1763483572748.png

 

2. glide.ui.date_format.last_day_of_week - type integer and value is 6 because 6 is Friday 

SarthakKashyap_2-1763483616392.png

 

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

 

GuyHome
Tera Expert

Thank you so much!
Mind sharing where you found the documentation?
Or how you found out?

Hi @GuyHome ,

 

I didn't find any official docs, but I got old community link here they mention for first day so I created for first day of week and created similar for last day of week, I tested and it works!

 

https://www.servicenow.com/community/servicenow-ai-platform-forum/week-start-and-end/m-p/1106157

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

 

Thanks again. With that info I managed to find these 2.