In below sentence it's mentioned "on two weeks":
They'll quite happily squander a whole year's savings on two weeks in the sun.
whereas so far I learned to speak in this way:
They'll quite happily squander a whole year's savings in two weeks in the sun.
I want to know which one is correct. In my opinion "in two weeks" means within two weeks which seems more likely correct.