A worldwide community photographing and learning about wildlife
Anus acuta
All you have to do is look at the speculum on the bird for an ID. Your bird has a blue/purple speculum with a white border, which only Mallards have. Pintails have a bronzy green speculum, which this bird clearly does not have.