When did the modern genre of Fantasy associated primarily with the middle ages and not another time peroid?

by spinosaurs70
Searocksandtrees

hi sorry, can you repost this? the question isn't clear. Do you mean 'why' instead of 'when'? e.g.

Why is the modern genre of Fantasy associated primarily with the middle ages, and not another time period?

oh also, if 'why' is your question, this might be worth x-posting to /r/AskLiteraryStudies? just a thought