Although it depends on yeast and pitching rate, 2 weeks is fine for primary fermentation, if your pitching rate was high enough then you'll probably find fermentation is done in 7 - 10 days, but it never does any harm to leave it for another week. To leave it for a full month, I have done this...