Database connection fixed
new bug founded
Fixed datePatern for parsing all-day events