You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quarter Dropdown Menu provides options to select current quarter (Fall 2024) and next quarter (Winter 2025)
Actual Behavior:
Quarter Dropdown Menu gives options for correct current quarter (Fall 2024), but incorrect next quarter (Spring 2025)
Cause:
quarters() (from backend-api.js) is called with the incorrect date argument (by util-methods.js getQuarters()).
./frontend/src/components/util/util-methods.js has an error in the implementation of the getQuarters() function, setting nextQuarter variable to a time 8 months in the future (today+2+6), which is in the wrong quarter. The correct behavior, which is actually on this repo, sets nextQuarter to a time 4 months in the future (today+2+2).
Incorrect Production Code (util-methods.js line 53)
Correct Github Code (util-methods.js line 57)
The text was updated successfully, but these errors were encountered:
Expected Behavior:
Quarter Dropdown Menu provides options to select current quarter (Fall 2024) and next quarter (Winter 2025)
Actual Behavior:
Quarter Dropdown Menu gives options for correct current quarter (Fall 2024), but incorrect next quarter (Spring 2025)
Cause:
quarters() (from backend-api.js) is called with the incorrect date argument (by util-methods.js getQuarters()).
./frontend/src/components/util/util-methods.js has an error in the implementation of the getQuarters() function, setting nextQuarter variable to a time 8 months in the future (today+2+6), which is in the wrong quarter. The correct behavior, which is actually on this repo, sets nextQuarter to a time 4 months in the future (today+2+2).
Incorrect Production Code (util-methods.js line 53)
Correct Github Code (util-methods.js line 57)
The text was updated successfully, but these errors were encountered: