Andrew 2 miesięcy temu
rodzic
commit
ee67b4a42c
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      app/Http/Controllers/Api/AlbumController.php

+ 2
- 2
app/Http/Controllers/Api/AlbumController.php Wyświetl plik

@@ -38,7 +38,7 @@ class AlbumController extends Controller
38 38
                 "id" => $topVideo->id,
39 39
                 "categoryId" => $topVideo->albumCategory->id,
40 40
                 "category" => $topVideo->albumCategory->getTranslation("name", $locate),
41
-                "postDate" => Carbon::parse($topVideo->post_date)->format("Y.m.d"),
41
+                "postDate" => Carbon::parse($topVideo->post_date)->format("Y/m/d"),
42 42
                 "title" => $topVideo->getTranslation("title", $locate),
43 43
                 "imgBanner" => $topVideo->album_img_banner_url,
44 44
                 "imgPC" => $topVideo->album_img_pc_url,
@@ -68,7 +68,7 @@ class AlbumController extends Controller
68 68
                 "id" => $item->id,
69 69
                 "categoryId" => $item->albumCategory->id,
70 70
                 "category" => $item->albumCategory->getTranslation("name", $locate),
71
-                "postDate" => Carbon::parse($item->post_date)->format("Y.m.d"),
71
+                "postDate" => Carbon::parse($item->post_date)->format("Y/m/d"),
72 72
                 "title" => $item->getTranslation("title", $locate),
73 73
                 "imgBanner" => $item->album_img_banner_url,
74 74
                 "imgPC" => $item->album_img_pc_url,