|Index > Scribe > Calendar bug with test 19
|Calendar bug with test 19
|If I create a calendar event and change the end time, the day and month of the end date appear to get flipped. There are also some other strange things happening, but I'll have to post about them later when I have time.
|This is because when you set the end time without setting the end date, the end date becomes "0/0/0" which is before the start date and so to maintain object integrity the Calendar code swaps the start and end so that the end is after the start.
I've changed the code to pull in the start's date when you set the end time only. This should solve this problem for the majority of cases.
When your ready let me know about any other issues and I'll address them as well.