Current time bar as a component

I hope it's ok now.