Support Article
Function Week of doesn't take the first day of the week Monday
SA-966
Summary
In a Report definition, the function "Week of" in a column definitionis taking the Sunday as first day of the week instead of Monday as is configured in many of the European locales.
Error Messages
No error message
Steps to Reproduce
Report definition configuration
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules.
The Week Of function does not properly account for locales where the first day of the week is not Sunday.
Resolution
This issue is resolved through the following local change:
A site-specific function was written and used instead.
Published June 12, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.