"When did she go from the pub?"
Translation:Pryd aeth hi o'r dafarn?
Tafarn is feminine, hence y dafarn, i'r dafarn, etc. Stick with the feminine form.
(Except sometimes tafarn is masculine in parts of Glamorgan)
And the English sounds odd here, too. 'When did she leave the pub?' sounds more natural.