dever 3 年之前
父節點
當前提交
7d72530e2e
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      app/cash/lib/Set.php

+ 3 - 1
app/cash/lib/Set.php

@@ -17,8 +17,10 @@ class Set
     {
         if ($type == 1) {
             $string = 'Y年m月';
-        } else {
+        } elseif ($type == 2) {
             $string = 'Y年W周';
+        } else {
+            $string = 'Y年m月d日';
         }
 
         return date($string, $day);