You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are setting the time from the same instance you are getting the time which is pretty useless.
I think you meant to use calendar.setTime(this.calendar.getTime());
Better yet, refactor the code to use member variable naming so this wouldn't happen.
The text was updated successfully, but these errors were encountered:
Long Press on March 29, 2018 selects March 1 , 2018 due to the following code.
You are setting the time from the same instance you are getting the time which is pretty useless.
I think you meant to use
calendar.setTime(this.calendar.getTime());
Better yet, refactor the code to use member variable naming so this wouldn't happen.
The text was updated successfully, but these errors were encountered: