Change date format for graph