eight
2024-11-20 9d9eab0e8a8ef5de9c8e3c5753ca527b5c8466b1
src/utils/dateUtil.ts
@@ -33,4 +33,9 @@
  return today.diff(birthday, 'year');
}
export function isCurrentDay( _date: Date) {
  const today = dayjs(new Date());
  return today.isSame( dayjs(_date), 'day' )
}
export const dateUtil = dayjs