shiftworked

adj.

Having drunk enough to remain cheerfully operational through hours when sensible people are abed.

Shaun was shiftworked and still ordering pints when the baker unlocked the shop.

Source: Wiktionary