diff --git a/FO/Views/Course/SmartSearch.cshtml b/FO/Views/Course/SmartSearch.cshtml
index f96b127..3f58334 100644
--- a/FO/Views/Course/SmartSearch.cshtml
+++ b/FO/Views/Course/SmartSearch.cshtml
@@ -263,13 +263,13 @@
}
if (d.cshape == 0) {
- p.html("");
+ p.html("");
}
else if (d.cshape == 1) {
- p.html("");
+ p.html("");
}
else if (d.cshape == 2) {
- p.html("");
+ p.html("");
}
spanIntro.text("강좌소개");
li.append(p);
diff --git a/Model/CM.cs b/Model/CM.cs
index 8d37fc4..05bb89e 100644
--- a/Model/CM.cs
+++ b/Model/CM.cs
@@ -201,7 +201,8 @@ namespace NP.Model
{
get
{
- return sstime == null && setime == null ? "" : string.Format("{0}", Convert.ToDateTime(setime).DayOfYear - Convert.ToDateTime(sstime).DayOfYear);
+ TimeSpan ts = Convert.ToDateTime(setime) - Convert.ToDateTime(sstime);
+ return sstime == null && setime == null ? "" : string.Format("{0}", ts.Days);
}
}
///