California law allows workers to take up to two hours off work to vote if they are unable to during non-working hours.