This question already has an answer here:
I've worked for my current employer for about five months. I'm full-time, but hourly. I'm currently planning on quitting in about a month and a half, but I'm getting married before then and want to request a couple (unpaid) weeks off. I feel like taking two weeks off, working for a week, and then putting in two weeks' notice would be impolite, however I fear if I tell my employer now that I plan to leave in a month a half they'll want to terminate me before then and go ahead a find a replacement.
Is it better to be forthcoming now, or should I just request the time off and later give two weeks' notice?