Andrew пре 4 месеци
родитељ
комит
ee67b4a42c
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      app/Http/Controllers/Api/AlbumController.php

+ 2
- 2
app/Http/Controllers/Api/AlbumController.php Прегледај датотеку

38
                 "id" => $topVideo->id,
38
                 "id" => $topVideo->id,
39
                 "categoryId" => $topVideo->albumCategory->id,
39
                 "categoryId" => $topVideo->albumCategory->id,
40
                 "category" => $topVideo->albumCategory->getTranslation("name", $locate),
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
                 "title" => $topVideo->getTranslation("title", $locate),
42
                 "title" => $topVideo->getTranslation("title", $locate),
43
                 "imgBanner" => $topVideo->album_img_banner_url,
43
                 "imgBanner" => $topVideo->album_img_banner_url,
44
                 "imgPC" => $topVideo->album_img_pc_url,
44
                 "imgPC" => $topVideo->album_img_pc_url,
68
                 "id" => $item->id,
68
                 "id" => $item->id,
69
                 "categoryId" => $item->albumCategory->id,
69
                 "categoryId" => $item->albumCategory->id,
70
                 "category" => $item->albumCategory->getTranslation("name", $locate),
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
                 "title" => $item->getTranslation("title", $locate),
72
                 "title" => $item->getTranslation("title", $locate),
73
                 "imgBanner" => $item->album_img_banner_url,
73
                 "imgBanner" => $item->album_img_banner_url,
74
                 "imgPC" => $item->album_img_pc_url,
74
                 "imgPC" => $item->album_img_pc_url,