"Earlier today", for me, is such a standard collocation that I would assume it meant "I thought you were going to ask your boss (earlier today) if you could get off work" referring to the time of the question.
I would use "I thought you were going to ask your boss if you could get off work early today".