Fixed bug with calendar events date