Middleware? Override DateTime formatting #715
Unanswered
binarytemple
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The default (AFAIK) is for DateTime struts to be converted to string with a format like "2024-10-19T07:26:04Z", however I'm interacting with a system (teamwork.com) that absolutely, positively insists on a format with "Z" at the end, i.e. "2024-10-19T07:26:04Z".
I could override the default Chars protocol but that could introduce unintended side effects elsewhere.
Perhaps I can implement a middleware to modify the query string generation?
Can anyone point me in the right direction?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions