This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
If you have configured your Calendar control to display both date and time, and you enter only the time into the Calendar control's textbox, the control will automatically add the current date to the time you have entered when you focus away from the control.
However, at times users noticed that the Calendar control fills in an older date, and not the current date. For example, if today is 10 October 2018, after filling in the time in the control's textbox, then clicking away, the Calendar control fills in 09 October 2018 instead of 10 October 2018.
- This issue appears randomly.
- If the form with the Calendar control is left open, and the next day the user continues to use the form, the Calendar control will fill in the date the form was first opened. Refreshing the form will not fix the issue.
This has been acknowledged as a bug to be addressed in a future version of K2.
The workaround is to advice users NOT to fill in the time into the textbox, and let the Calendar control fill in the date. Use the calendar in the Calendar control to pick the correct date and time.