while a period of time away

while away

To spend an amount of time idly, pleasantly, or in a carefree manner. Often used in the phrase "while away the hours." A noun or pronoun can be used between "while" and "away." When we were kids, we would while away the hours on rainy days just drawing pictures and reading books. Don't just while the summer away—set a goal for yourself and do something constructive.
See also: away, while
Farlex Dictionary of Idioms. © 2015 Farlex, Inc, all rights reserved.

while a period of time away (doing something)

to spend or waste time doing something. I whiled an hour away just staring at the sea. Liz whiled away the entire afternoon, snoozing. I just love to while away the hours.
See also: away, of, period, time, while
McGraw-Hill Dictionary of American Idioms and Phrasal Verbs. © 2002 by The McGraw-Hill Companies, Inc.
See also: