Can they not do this two-week project after hours? Must it be in your office, on your schedule? Where you code, the hours you code, these do not matter. The code is what matters.
Sure, but now it's not going to get full time dedication, maybe half that if you're lucky. So it's more like four weeks. And maybe they don't even have that much free time, so it's even longer.