0

In GWT Query param of type Date does not get serialized using the default (unix time) date format when timezone is set to any of (UTC-XX) timezones.

E.g. Query param:

Thu+May+19+10%3A47%3A09+GMT-100+2022
default format used : EEE MMM dd HH:mm:ss 'GMT'Z yyyy
GWT version:2.7.0 and resty-gwt-2.2.0
Api: https://localhost:8080/orders?OrderDate=Thu+May+19+10%3A47%3A09+GMT-100+2022
Nithya
  • 1
  • 2
  • Hi @Nithya, could you update the question to show us what you think the query param should like when it is formatted and updated correctly? – Michael Merchant May 23 '23 at 10:13
  • 1
    Hi @MichaelMerchant, the problem is when set to UTC - XX timezone i get serialization exception and the api returns 400 bad request..There is no problem with the default format as it works for UTC+ timezones – Nithya May 24 '23 at 04:47
  • 1
    Thanks all for the reply..With latest upgrade to resty-gwt 2.2.7 version the issue resolved. – Nithya May 28 '23 at 12:31

0 Answers0