probably within at least the last half-century.
well i mean there wasn't much homoloveual discrimination in the 1960's lol. sure there were no hatecrime laws and kids probably called each other "cigarettes" more in school, but there wasn't much persecution for it.
unless you're extremely flamboyant, then you can expect to be discriminated for being an annoying prick lol
Around 1500-1900
depends on where you are, im sure that there was a few civilizations that accepted it.