Working on datebar display logic.