leon преди 1 година
родител
ревизия
9354113123
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      src/features/trackTimeDuration/components/IndexConsoleMuti.scss
  2. 2 2
      src/features/trackTimeDuration/components/WeekCalendar.tsx

+ 1 - 1
src/features/trackTimeDuration/components/IndexConsoleMuti.scss

@@ -19,7 +19,7 @@
 }
 
 .new_item_cell_line{
-    height: 1px;
+    height: 2px;
     background-color: #fff;
     opacity: 0.2;
     margin-left: 40px;

+ 2 - 2
src/features/trackTimeDuration/components/WeekCalendar.tsx

@@ -240,12 +240,12 @@ const WeekCalendar = memo((props: { isFastSleep: boolean }) => {
     function getWeekDuration() {
         if (global.language == 'en') {
             if (!props.isFastSleep) {
-                return `${t('feature.common.day_of_week_full.mon')}, ${getDate(calendarData.start)} - ${t('feature.common.day_of_week_full.sun')}, ${getDate(calendarData.end - 1)}`
+                return `${t('feature.common.day_of_week_full.sun')}, ${getDate(calendarData.start)} - ${t('feature.common.day_of_week_full.sat')}, ${getDate(calendarData.end - 1)}`
             }
             return `${t('feature.common.day_of_week_full.sun')} ${t('feature.common.time_desc.afternoon')}, ${getDate(calendarData.start)} - ${t('feature.common.day_of_week_full.sun')} ${t('feature.common.time_desc.morning')}, ${getDate(calendarData.end)}`
         }
         if (!props.isFastSleep) {
-            return `${getDate(calendarData.start)} ${t('feature.common.day_of_week_full.mon')} - ${getDate(calendarData.end - 1)} ${t('feature.common.day_of_week_full.sun')}`
+            return `${getDate(calendarData.start)} ${t('feature.common.day_of_week_full.sun')} - ${getDate(calendarData.end - 1)} ${t('feature.common.day_of_week_full.sat')}`
         }
         return `${getDate(calendarData.start)} ${t('feature.common.day_of_week_full.sun')}${t('feature.common.time_desc.afternoon')} - ${getDate(calendarData.end)} ${t('feature.common.day_of_week_full.sun')}${t('feature.common.time_desc.morning')}`
     }