arvid-e 5 месяцев назад
Родитель
Сommit
3b2a712abb
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      apps/app/src/features/contribution-graph/utils/contribution-graph-utils.ts

+ 2 - 2
apps/app/src/features/contribution-graph/utils/contribution-graph-utils.ts

@@ -8,8 +8,8 @@ export const getISOWeekId = (date: Date): string => {
 };
 };
 
 
 export const getDaysDifference = (
 export const getDaysDifference = (
-  dateFrom: Date,
-  dateTo: Date = new Date(),
+    dateFrom: Date,
+    dateTo: Date = new Date(),
 ): number => {
 ): number => {
   const diffDays = differenceInDays(dateFrom, dateTo);
   const diffDays = differenceInDays(dateFrom, dateTo);
   return Math.max(0, diffDays);
   return Math.max(0, diffDays);