diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml index ca25f241b..19bb34707 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml @@ -497,7 +497,11 @@ }, date: function (value) { var date = new Date(value); - return date.toLocaleDateString(); + if (date instanceof Date && !isNaN(date.getTime())) { + return date.toLocaleDateString(); + } else { + return ''; + } }, company: function (value) { var result;