midas web
fix time picker logic