There is a calendar near Starsky's kitchen that is dated June 1977.
Exactly a year later, another very famous Spelling-Goldberg show would also end its season 4 with a similar themed premise: One Love... Two Angels: Part I (1980) where---as per title---two detectives fall in love with the same person. (Genders, of course, reversed there.)