From 5b8725233f51fbbcee2c2abac848df48fe142168 Mon Sep 17 00:00:00 2001 From: Dmitry Mamontov Date: Tue, 24 Mar 2015 14:39:38 +0300 Subject: [PATCH] Update ApiClient.cs --- RetailCrm/ApiClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RetailCrm/ApiClient.cs b/RetailCrm/ApiClient.cs index 0e2ad76..d109385 100644 --- a/RetailCrm/ApiClient.cs +++ b/RetailCrm/ApiClient.cs @@ -167,11 +167,11 @@ namespace RetailCrm if (startDate != null) { - parameters.Add("startDate", startDate.Value.ToString("Y-m-d H:i:s")); + parameters.Add("startDate", startDate.Value.ToString("yyy-MM-dd HH:mm:ss")); } if (endDate != null) { - parameters.Add("endDate", endDate.Value.ToString("Y-m-d H:i:s")); + parameters.Add("endDate", endDate.Value.ToString("yyy-MM-dd HH:mm:ss")); } if (limit > 0) {