Skip to content

(PW-3185) fix: Calendar JSON serialization uses 1-based months#306

Open
ptorres-prowide wants to merge 1 commit intomainfrom
CU-86b9byw8k_PW-3185-The-JSON-corresponding-to-MX-message-has-incorrect-month-in-the-audit-history
Open

(PW-3185) fix: Calendar JSON serialization uses 1-based months#306
ptorres-prowide wants to merge 1 commit intomainfrom
CU-86b9byw8k_PW-3185-The-JSON-corresponding-to-MX-message-has-incorrect-month-in-the-audit-history

Conversation

@ptorres-prowide
Copy link
Copy Markdown
Contributor

Added CalendarTypeAdapter for Gson that serializes months as 1-based (January=1, December=12) instead of Java Calendar's internal 0-based convention. Registered in AbstractSwiftMessage.toJson() and MtSwiftMessage.fromJson().

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ptorres-prowide ptorres-prowide force-pushed the CU-86b9byw8k_PW-3185-The-JSON-corresponding-to-MX-message-has-incorrect-month-in-the-audit-history branch from f0720de to c170800 Compare April 14, 2026 23:33
@ptorres-prowide ptorres-prowide requested a review from zubri April 15, 2026 00:07
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