Explorar el Código

Also change date format when inside a specific post

richard hace 6 meses
padre
commit
4c2350f740
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      index.php

+ 1 - 1
index.php Ver fichero

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