iMMAP / ngm-reportDesk

The workdesk for ReportHub
0 stars 0 forks source link

The automatic selected date is not full month for January in My Admin page #41

Closed rafinkanisa closed 2 years ago

rafinkanisa commented 2 years ago

Describe the bug The date selected automatically by the system is not selecting the whole days of the month of January. It only selects 1 Jan - 28 Jan

Context I found this bug when Naqi is doing the training

To Reproduce Steps to reproduce the behavior:

  1. Login to your account
  2. Click on 'My Home' > My Admin
  3. Look for the date filter
  4. See error where it doesn't automatically select the whole day of month January (1-31 January)

Expected behavior The platform should automatically select the whole day of the month. In this case, 1 - 31 January should be automatically selected.

Screenshots

Screen Shot 2022-02-08 at 12 55 19

Additional context I think it's probably because February has only 28 days?

fakhrihawari commented 2 years ago

already fixed Link PR: https://github.com/iMMAP/ngm-reportHub/pull/115