Congrats on your wedding. It is not a problem at all. I only had 2 weeks break for my wedding as well. I will say, it is always better to stay long but it is not mandatory. I got my spouse visa in 2 months and 4 days. so everything is depend on ur visa officer.
Good luck for ur wedding and...