fixed calendar value from input