That is probably the best way to deal with it :)
I have flexible workhours, so I came early this morning so that I can leave early as well. I could work less today and do more on another day if I wanted, but in the end I would gain nothing by doing so.
