Andrew Wallo преди 7 месеца
родител
ревизия
eaa599e1d0
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2
    2
      app/Providers/MacroServiceProvider.php

+ 2
- 2
app/Providers/MacroServiceProvider.php Целия файл

355
                     return null;
355
                     return null;
356
                 }
356
                 }
357
 
357
 
358
-                $timezone ??= $column->getTimezone() ?? CompanySettingsService::getDefaultTimezone();
358
+                $timezone ??= CompanySettingsService::getDefaultTimezone();
359
 
359
 
360
                 // Use shiftTimezone to shift UTC calendar date to the specified timezone
360
                 // Use shiftTimezone to shift UTC calendar date to the specified timezone
361
                 // Using setTimezone would convert which is wrong for calendar dates
361
                 // Using setTimezone would convert which is wrong for calendar dates
386
                     return null;
386
                     return null;
387
                 }
387
                 }
388
 
388
 
389
-                $timezone ??= $entry->getTimezone() ?? CompanySettingsService::getDefaultTimezone();
389
+                $timezone ??= CompanySettingsService::getDefaultTimezone();
390
 
390
 
391
                 // Use shiftTimezone to shift UTC calendar date to the specified timezone
391
                 // Use shiftTimezone to shift UTC calendar date to the specified timezone
392
                 // Using setTimezone would convert which is wrong for calendar dates
392
                 // Using setTimezone would convert which is wrong for calendar dates

Loading…
Отказ
Запис