dever 3 years ago
parent
commit
7d72530e2e
1 changed files with 3 additions and 1 deletions
  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);