change localhost to 121.0.0.1
Now date selection is working