It's best to visit the Confucius Temple in Nanjing in the early evening
for 2 reasons:
The lights: you can take a boat tour if you wish, or simple walk along the Qinghuai River
The food: Nanjing is famous for its delicious street food. The night market has a lot to offer. Don't go to the fancy ones, don't eat the ones literally off the streets either. There is a commercial street where there are a lot of restaurants serving traditional Nanjing street food, the more crowded ones are often the best and worth the wait. When in doubt, follow the locals!