refactor: types and constants directories

This commit is contained in:
Mo
2022-06-01 10:23:37 -05:00
parent 54125cec21
commit 721cf8df35
70 changed files with 67 additions and 170 deletions

View File

@@ -1,4 +1,4 @@
import { MILLISECONDS_IN_A_DAY } from '@/Constants'
import { MILLISECONDS_IN_A_DAY } from '@/Constants/Constants'
export const calculateDifferenceBetweenDatesInDays = (firstDate: Date, secondDate: Date) => {
const firstDateAsUTCMilliseconds = Date.UTC(firstDate.getFullYear(), firstDate.getMonth(), firstDate.getDate())