Browse Source

Also change date format when inside a specific post

richard 6 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
         } else {
208
         } else {
209
             $register = $tumble->getPost($id_post);
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
             $permalink = $tumble->getPermalink($register["id_post"]);
212
             $permalink = $tumble->getPermalink($register["id_post"]);
213
 
213
 
214
             $conversation = $register["description"];
214
             $conversation = $register["description"];