Sterilize the jars. To do this, place them on a rack in an oven preheated to 100 °C. Keep them there for 10 minutes.
Cut the zucchini into small pieces. Finely chop the dill. Chop the garlic in a way convenient for you.
For the marinade, fill a saucepan with a liter of water. Add salt, sugar, pepper, and bay leaf to the saucepan. Boil for 2 minutes.
In a deep plate, mix the zucchini, garlic and dill, mix everything well. Cover the salad with cling film and leave in the refrigerator for 12 hours. Then fill the jar with salad, add the marinade and roll it up. Wrap the jar in a blanket. Turn it over and put it in a place protected from the sun. Keep it like this for 24 hours. After that, you can put the zucchini away for storage.