Showing 22 of 41 total issues
Avoid too many return
statements within this function. Open
Open
return TimeSlot.fromValue(
utcDate.getUTCFullYear().toString() +
'-S' +
(1 + Math.floor(utcDate.getUTCMonth() / 6)).toString()
);
Avoid too many return
statements within this function. Open
Open
else if (periodicity === 'all') return TimeSlot.fromValue('all');