Fixed date string to update max_flows table