Fasting in Hinduism is not something compulsory, it is only a voluntary and individual worship that depends on the intention of a person.