Because the lunar calendar1July 9, 965 is the Gregorian calendar1August 5, 965. According to the date of birth in the Gregorian calendar, the constellation is Leo (July 23-August 22), so it is Leo.
Constellation refers to one of the indispensable components of astrology, and also refers to the combination of stars in the sky.