dever hace 3 años
padre
commit
7d72530e2e
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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);