Issues with Scoreboard. Most things check out with dayjs besides that.
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -58,10 +58,6 @@ export function FormDatePicker({
|
||||
&& value
|
||||
&& value.isValid
|
||||
&& value.isValid()
|
||||
&& typeof value.hours === 'function'
|
||||
&& typeof value.minutes === 'function'
|
||||
&& typeof value.seconds === 'function'
|
||||
&& typeof value.milliseconds === 'function'
|
||||
) {
|
||||
_a.set({
|
||||
hours: value.hours(),
|
||||
|
||||
@@ -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