Fixes static datebar logic and displays correct dates.