fix dates on graphs