a pig of a something

a pig of a something

(British English, informal) a difficult or unpleasant thing or task: I’ve had a pig of a day.
See also: of, pig, something