The past tense of while away the time is whiled away the time.
The third-person singular simple present indicative form of while away the time is whiles away the time.
The present participle of while away the time is whiling away the time.
The past participle of while away the time is whiled away the time.