Even on attaining majority a person is not obligated to...
Even on attaining majority a person is not obligated to perform acts which he missed when he was a minor. For example an adult is not obligated to complete the prayers which he did not offer during his infancy, for at that time the law was not addressed to him. A lunatic during his lunacy is also not obligated. Hence if he later regains his senses, he will not be obligated to perform the prayers and the fasts which he missed during the period of his lunacy.
He will be obligated only to carry them out subsequent to his recovery. Same is the case of the religious taxes like, Zakat and Khums, which may become due on the property of a minor or a lunatic. A minor or a lunatic is liable to pay them only after reaching the stage of being obligated, if not already paid by his legal guardian.