[#1990] fix the to today bug