eight
2024-11-25 549e0a0cda7fdaafc3d2e456b61187b7eed2c131
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