Does the sentence "Ramadan took place in July and August in 2012." answer the question "When was Ramadan in 2012?"
yes