Closed UmeshIsu closed 1 month ago
There is an issue in the main file where the datetime module is used but not imported.
datetime
Affected Code:
add_task
datetime.strptime()
NameError
Suggested Fix:
from datetime import datetime
please assign me this issue if it is not closed i will solve it successfully . this will help me enormously. please consider my comment!!
@roshankraveendrababu It is fixed.
There is an issue in the main file where the
datetime
module is used but not imported.Affected Code:
add_task
function usesdatetime.strptime()
to parse the deadline, but thedatetime
module is not imported, which will result in aNameError
.Suggested Fix: