eight
2024-11-18 8dfce4d85ea0f2445a65b35e50830460a9e07c9e
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