Skip to content

fix: format datetime as ISO 8601 with timezone for operation-history API - #33

Open
amnesiaof wants to merge 1 commit into
AlekseyKorshuk:masterfrom
amnesiaof:fix/operation-history-datetime-format
Open

fix: format datetime as ISO 8601 with timezone for operation-history API#33
amnesiaof wants to merge 1 commit into
AlekseyKorshuk:masterfrom
amnesiaof:fix/operation-history-datetime-format

Conversation

@amnesiaof

@amnesiaof amnesiaof commented Apr 5, 2026

Copy link
Copy Markdown

Problem

The YooMoney API requires ISO 8601 format with timezone offset (e.g., `2026-01-01T10:30:45+00:00`) but `format_datetime()` was producing a naive format without timezone (e.g., `2026-1-1T10:30:45`).

This caused `illegal_param_from` errors when using `operation_history()` with the `from_date` parameter.

Fix

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.

Not working (operation_history) | v0.1.2, v2.0.0

1 participant