Fixbug get data fromdate or toDate with input greater than 12 hours