Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Возможность указать дату в виде строки #99

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Korliore
Copy link

Если передать дату в виде строки День.Месяц.Год, то она преобразуется в необходимый формат и загрузится в amoCRM. Теперь не придется самому форматировать дату.

@@ -127,6 +127,8 @@ def create(self, data):

def update(self, object_id, data):
path = "{}/{}".format(self._get_path(), object_id)
for item in data['custom_fields_values']:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Поправь пожалйста тест https://github.com/Krukov/amocrm_api/actions/runs/5716884646/job/15494368967?pr=99#step:5:89

и можно еще попросить использовать только двойные кавычки

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants