This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add cod ehere |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Task } from '../../models/task.model.js' | |
import TaskException from '../../models/taskException.model.js' | |
import { DateTime } from 'luxon' | |
import pkg from 'rrule' | |
const { RRule } = pkg | |
import mongoose from 'mongoose' | |
// const getTasksByDueDate = async (baseDate, userId) => { | |
// try { | |
// // Convert baseDate to Luxon DateTime object |