Dinner can mean lunch in Britain. Also, tea can be biscuits and cake in the afternoon, or the main meal in the evening, which can also be called supper.
Google 'define dinner';
din·ner/ˈdinər/
Noun:
The main meal of the day, taken either around midday or in the evening.