From 9c5c7175f49a4597f8b3cb2616a3c128bf523b3e Mon Sep 17 00:00:00 2001 From: m4tlch Date: Wed, 1 Jul 2020 17:30:37 +0300 Subject: [PATCH] Update AccountModel.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Опечатка formant вместо format --- src/AmoCRM/Models/AccountModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AmoCRM/Models/AccountModel.php b/src/AmoCRM/Models/AccountModel.php index 15ac3a7e..a7659cbd 100644 --- a/src/AmoCRM/Models/AccountModel.php +++ b/src/AmoCRM/Models/AccountModel.php @@ -348,7 +348,7 @@ public static function fromArray(array $account): self $dateTimeSettings['date_pattern'], $dateTimeSettings['short_date_pattern'], $dateTimeSettings['short_time_pattern'], - $dateTimeSettings['date_formant'], + $dateTimeSettings['date_format'], $dateTimeSettings['time_format'], $dateTimeSettings['timezone'], $dateTimeSettings['timezone_offset']