feat: redesign Exams List page to show submitted custom exams
- Added Custom Exams tab showing all exams from Generation page - Displays title, module badges, duration, and status - Added Create Exam button - Kept Exam Sessions tab for institutional sessions - Search filters across exams Made-with: Cursor
This commit is contained in:
28
node_modules/date-fns/startOfTomorrow.js
generated
vendored
Normal file
28
node_modules/date-fns/startOfTomorrow.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
"use strict";
|
||||
exports.startOfTomorrow = startOfTomorrow; /**
|
||||
* @name startOfTomorrow
|
||||
* @category Day Helpers
|
||||
* @summary Return the start of tomorrow.
|
||||
* @pure false
|
||||
*
|
||||
* @description
|
||||
* Return the start of tomorrow.
|
||||
*
|
||||
* @returns The start of tomorrow
|
||||
*
|
||||
* @example
|
||||
* // If today is 6 October 2014:
|
||||
* const result = startOfTomorrow()
|
||||
* //=> Tue Oct 7 2014 00:00:00
|
||||
*/
|
||||
function startOfTomorrow() {
|
||||
const now = new Date();
|
||||
const year = now.getFullYear();
|
||||
const month = now.getMonth();
|
||||
const day = now.getDate();
|
||||
|
||||
const date = new Date(0);
|
||||
date.setFullYear(year, month, day + 1);
|
||||
date.setHours(0, 0, 0, 0);
|
||||
return date;
|
||||
}
|
||||
Reference in New Issue
Block a user