Before it sends the dates to the server, the GWT editor tries to validate the date string is correct. But the pattern was wrong (yyyy-mm-dd). It should be yyyy-MM-dd. So entering 2015-08-31 will be rejected as invalid. However if a date is not 31, it will pass the validation and the server will return correct result (server parsing pattern is correct).