Skip to content

Fix DateTimeConverter for (UTC) suffix#152

Open
hach-que wants to merge 1 commit intoActiveCampaign:mainfrom
hach-que:utc-date
Open

Fix DateTimeConverter for (UTC) suffix#152
hach-que wants to merge 1 commit intoActiveCampaign:mainfrom
hach-que:utc-date

Conversation

@hach-que
Copy link
Contributor

Postmark have again changed the date format, and dates can now contain (UTC) as a suffix. This change handles that, and also makes DateTimeConverter tolerant of unknown or badly formatted dates (defaulting to the current time), so that live applications don't break if Postmark changes the date format in production.

See #140 and #139 for previous context.

Postmark have again changed the date format, and dates can now contain ` (UTC)` as a suffix. This change handles that, and also makes DateTimeConverter tolerant of unknown or badly formatted dates (defaulting to the current time), so that live applications don't break if Postmark changes the date format in production.
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