This reverts commit "bafae163". But it does not revert the whole commit, just the changes related with the data type of the date fields in the resource service.