Fixed bug that prevented week from showing if it is Monday.
This commit is contained in:
@ -15,7 +15,7 @@ namespace ReportingServices.Shared.HelperClasses
|
||||
date = dayOfWeek switch
|
||||
{
|
||||
0 => date.AddDays(-6),
|
||||
1 => date.AddDays(-7),
|
||||
1 => date,
|
||||
_ => date.AddDays(1 - dayOfWeek)
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user