Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / shared / lib / date-fns-utc / differenceInCalendarYears.ts
blob26599c74225a1f6dd9dc3a17b620fd27e0f3c1b6
1 const differenceInCalendarYears = (left: Date, right: Date) => {
2     return left.getUTCFullYear() - right.getUTCFullYear();
3 };
5 export default differenceInCalendarYears;