Skip to content

hotfix with wrong datetime#135

Merged
petrCher merged 1 commit intomainfrom
bugfix
Feb 28, 2026
Merged

hotfix with wrong datetime#135
petrCher merged 1 commit intomainfrom
bugfix

Conversation

@petrCher
Copy link
Member

Изменения

В конце месяца при начале аренды после дедлайна падал код с 500 ошибкой, так как обработки на добавление дня не было, например, тестил 28 февраля 2026 года, код задавал дедлайн 29 февраля(+1 день), а должен был 1 марта

Детали реализации

Исправил с помощью timedelta

Check-List

  • Вы проверили свой код перед отправкой запроса?
  • Вы написали тесты к реализованным функциям?
  • Вы не забыли применить форматирование black и isort для Back-End или Prettier для Front-End?

@github-actions
Copy link

💩 Code linting failed, use black and isort to fix it.

@petrCher petrCher merged commit 50d2b08 into main Feb 28, 2026
0 of 2 checks passed
@petrCher petrCher deleted the bugfix branch February 28, 2026 19:40
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.

1 participant