Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / packages / shared / lib / date-fns-utc / endOfDay.ts
blobf11072e8aa30617a67b117c52d1faba45fe946e0
1 const endOfDay = (date: Date) => {
2     const result = new Date(+date);
3     result.setUTCHours(23, 59, 59, 999);
4     return result;
5 };
7 export default endOfDay;