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);