Recently I was creating a custom action for creating custom bucket rules, and I followed the instructions from this link. Everything went well but when I sync the bucketed folder, then on the basis of the date field it should create the folder structure but, the structure it is creating is one day before the provided date, for example if I pass the date 8/4/2017
the folder structure it is creating is based on date 8/3/2017
I check the date field, when I checked the raw values, I am getting 1 day before.