In 2011 , Hungary assumed the six-month rotating presidency of the EU for the first time .