|
@@ -84,7 +84,7 @@ $template = new plantillas($conf->template);
|
84
|
84
|
if ($tumble->contarRegistros()>0) {
|
85
|
85
|
$dateTmp = null;
|
86
|
86
|
while($register = mysql_fetch_array($rs)) {
|
87
|
|
- $formatedDate = date("M d", strtotime($register["date"])+transform_offset($conf->offsetTime));
|
|
87
|
+ $formatedDate = gmdate("M d", strtotime($register["date"])+transform_offset($conf->offsetTime));
|
88
|
88
|
if ( $dateTmp != null && $formatedDate == $dateTmp ) { $formatedDate = ""; } else { $dateTmp = $formatedDate; }
|
89
|
89
|
$strEnd=($conf->urlFriendly) ? "/" : "";
|
90
|
90
|
$permalink = $conf->urlGelato.($conf->urlFriendly?"/post/":"/index.php?post=").$register["id_post"].$strEnd;
|
|
@@ -183,7 +183,7 @@ $template = new plantillas($conf->template);
|
183
|
183
|
} else {
|
184
|
184
|
$register = $tumble->getPost($id_post);
|
185
|
185
|
|
186
|
|
- $formatedDate = date("M d", strtotime($register["date"])+transform_offset($conf->offsetTime));
|
|
186
|
+ $formatedDate = gmdate("M d", strtotime($register["date"])+transform_offset($conf->offsetTime));
|
187
|
187
|
$strEnd=($conf->urlFriendly) ? "/" : "";
|
188
|
188
|
$permalink = $conf->urlGelato.($conf->urlFriendly?"/post/":"/index.php?post=").$register["id_post"].$strEnd;
|
189
|
189
|
|
|
@@ -272,7 +272,7 @@ $template = new plantillas($conf->template);
|
272
|
272
|
|
273
|
273
|
$commentAuthor = ($rowComment["web"]=="") ? $rowComment["username"] : "<a href=\"".$rowComment["web"]."\" rel=\"external\">".$rowComment["username"]."</a>";
|
274
|
274
|
$input = array("{Id_Comment}", "{Comment_Author}", "{Date}", "{Comment}");
|
275
|
|
- $output = array($rowComment["id_comment"], $commentAuthor, date("d.m.y", strtotime($rowComment["comment_date"])), $rowComment["content"]);
|
|
275
|
+ $output = array($rowComment["id_comment"], $commentAuthor, gmdate("d.m.y", strtotime($rowComment["comment_date"])+transform_offset($conf->offsetTime)), $rowComment["content"]);
|
276
|
276
|
$template->cargarPlantillaConBloque($input, $output, "template_comments", "comments");
|
277
|
277
|
}
|
278
|
278
|
$template->mostrarPlantillaConBloque();
|