瀏覽代碼

Also change date format when inside a specific post

richard 6 月之前
父節點
當前提交
4c2350f740
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      index.php

+ 1 - 1
index.php 查看文件

@@ -208,7 +208,7 @@ $util_class = new util();
208 208
         } else {
209 209
             $register = $tumble->getPost($id_post);
210 210
 
211
-            $formatedDate = gmdate("M d", strtotime($register["date"]) + $util_class->transform_offset($conf->offsetTime));
211
+            $formatedDate = gmdate("M d Y", strtotime($register["date"]) + $util_class->transform_offset($conf->offsetTime));
212 212
             $permalink = $tumble->getPermalink($register["id_post"]);
213 213
 
214 214
             $conversation = $register["description"];