Skip to content

Commit

Permalink
Remove unused isDateValid() function
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgain committed Jan 6, 2025
1 parent b4671ae commit f937e84
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/client/utils/date.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ const {
DATE_FORMAT_YEAR_MONTH,
} = require('./date-utils')

/**
* Date validation functions
*/

function isDateValid(date) {
return isValid(parseISO(date))
}

/**
* Parses a date string given a year, month, and optional day.
*
Expand Down Expand Up @@ -276,7 +268,6 @@ module.exports = {
getDifferenceInDaysLabel,
getDifferenceInWords,
getFinancialYearStart,
isDateValid,
parseDateWithYearMonth,
formatDateWithYearMonth,
createDateFromObject,
Expand Down

0 comments on commit f937e84

Please sign in to comment.