Skip to content

Commit b4e0886

Browse files
alexdcdckavinphan
authored andcommitted
update documentation for parseDate
1 parent f6cb7b3 commit b4e0886

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/api/unclaimedItems/route.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ interface ItemsResponse {
2222
}
2323

2424
/**
25-
*
26-
* @params dateString
25+
* Takes a date string, validates it, and parses it into a Date object.
26+
* @params dateString: the date string to parse
2727
* @returns the parsed date string or null if the date string is invalid
2828
*/
2929
function parseDate(dateString: string): Date | null {

0 commit comments

Comments
 (0)