thomastom99 / wc

wc Public Repository
0 stars 0 forks source link

From/To Date Range for February is wrong #56

Closed thomastom99 closed 8 years ago

thomastom99 commented 8 years ago

When selecting From/To date range by selecting February form Employee activity report it shows to date as 29/01/2016

It should be 29/02/2016

Pl Correct..

There will be other mistakes similar to this.. Pl check..

Revathyms commented 8 years ago

The problem was related to the CalendarUserControlTo.SetDate(). "CalendarUserControlTo.SetDate("28/01/" + DateTime.Now.Year.ToString());", Here the month is set to 1. Now the bug was fixed by change the month "CalendarUserControlTo.SetDate("28/02/" + DateTime.Now.Year.ToString());"