Hatch Act Modernization Act of 2012 - Amends the Hatch Act to: (1) eliminate the prohibition against state and local employees seeking partisan elective office; (2) make employees of the District of Columbia subject to the provisions applicable to state and local employees (currently, District employees are subject to the provisions applicable to federal employees); and (3) revise penalties for violations to allow penalties other than termination of employment.