To contrast, in Canada:
“By law, eligible electors must have three consecutive hours to cast their vote on election day. If your hours of work do not allow for three consecutive hours to vote, your employer must give you time off.
Employers cannot impose a penalty or deduct pay from an employee who is taking time off to vote if required by the Canada Elections Act. An employee must be paid what he or she would have earned during the time allowed off for voting.”
[Source] http://www.elections.ca/content.aspx?section=vot&dir=faq&doc...
Edit: happy to see similar laws do exist for some states!