Browse Source

Also change date format when inside a specific post

richard 7 months ago
parent
commit
4c2350f740
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.php

+ 1 - 1
index.php View File

@@ -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"];