From: Vladimir Fomichev Date: Wed, 3 Sep 2025 14:46:36 +0000 (+0300) Subject: Правки по MR - убрал лишнее из другой задачи X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=0b8e2f81a9f184ec415b82bf51e5e9889a26c19c;p=erp24_rep%2Fyii-erp24%2F.git Правки по MR - убрал лишнее из другой задачи --- diff --git a/erp24/views/products1c-nomenclature-actuality/index.php b/erp24/views/products1c-nomenclature-actuality/index.php index 734d0391..6aa70cef 100644 --- a/erp24/views/products1c-nomenclature-actuality/index.php +++ b/erp24/views/products1c-nomenclature-actuality/index.php @@ -25,11 +25,8 @@ $this->registerJsFile('/js/products1cNomenclatureActuality/index.js', ['position function monthList() { $list = []; - $tz = new DateTimeZone('Europe/Moscow'); - $now = new DateTime('now', $tz); - $start = (clone $now)->modify('first day of january last year'); - $end = (clone $now)->modify('last day of december next year'); - + $start = new DateTime('2025-01'); + $end = new DateTime('2026-12'); while ($start <= $end) { $key = $start->format('Y-m'); $list[$key] = $start->format('Y‑m');