Bug fix for compareYmdhisDate.