Localize string dates in election view headers

Fix tests