Issues with Scoreboard. Most things check out with dayjs besides that.
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -57,14 +57,6 @@ export const AsOfDateTargetHours = (dailyTargetHours, date) => {
|
||||
);
|
||||
};
|
||||
|
||||
export const ListOfBusinessDaysInCurrentMonth = () => {
|
||||
// TODO This is probably broken :/
|
||||
console.log('Hit!!!!')
|
||||
const momentListOfDays = dayjs().businessDaysInMonth();
|
||||
|
||||
return momentListOfDays.map((i) => i.format("YYYY-MM-DD"));
|
||||
};
|
||||
|
||||
export const ListOfDaysInCurrentMonth = () => {
|
||||
const days = [];
|
||||
const dateStart = dayjs().startOf("month");
|
||||
|
||||
Reference in New Issue
Block a user