diff options
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/pkg_comments.php | 2 | ||||
-rw-r--r-- | web/template/stats/updates_table.php | 4 | ||||
-rw-r--r-- | web/template/tu_details.php | 4 | ||||
-rw-r--r-- | web/template/tu_list.php | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php index bd26a3e8..d8346511 100644 --- a/web/template/pkg_comments.php +++ b/web/template/pkg_comments.php @@ -8,7 +8,7 @@ while (list($indx, $carr) = each($comments)) { ?> $carr['UserName'] = "<a href=\"account.php?Action=AccountInfo&ID={$carr['UsersID']}\">{$carr['UserName']}</a>"; } - $commentHeader = '<p style="display:inline;">' . __('Comment by: %s on %s', $carr['UserName'], gmdate('r', $carr['CommentTS'])) . '</p>'; + $commentHeader = '<p style="display:inline;">' . __('Comment by: %s on %s', $carr['UserName'], gmdate('Y-m-d H:i', $carr['CommentTS'])) . '</p>'; if (canDeleteCommentArray($carr, $atype, $uid)) { $durl = '<form method="post" action="packages.php?ID='.$row['ID'].'">'; diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php index 8da67320..92c6e425 100644 --- a/web/template/stats/updates_table.php +++ b/web/template/stats/updates_table.php @@ -21,9 +21,9 @@ $mod_int = intval($row["ModifiedTS"]); $sub_int = intval($row["SubmittedTS"]); if ($mod_int == $sub_int): - $modstring = '<img src="images/new.gif" alt="New!" /> ' . gmdate("r", $sub_int); + $modstring = '<img src="images/new.gif" alt="New!" /> ' . gmdate("Y-m-d H:i", $sub_int); else: - $modstring = gmdate("r", $mod_int); + $modstring = gmdate("Y-m-d H:i", $mod_int); endif; ?> diff --git a/web/template/tu_details.php b/web/template/tu_details.php index c48f6038..52a86561 100644 --- a/web/template/tu_details.php +++ b/web/template/tu_details.php @@ -17,8 +17,8 @@ if ($isrunning == 1) { ?> N/A <?php } ?> </b><br /> -<?php print __("Submitted: %s by %s", "<b>" . gmdate("r", $row['Submitted']) . "</b>", "<b>" . username_from_id($row['SubmitterID']) . "</b>") ?><br /> -<?php print __('End') ?>: <b><?php print gmdate("r", $row['End']) ?></b></p> +<?php print __("Submitted: %s by %s", "<b>" . gmdate("Y-m-d H:i", $row['Submitted']) . "</b>", "<b>" . username_from_id($row['SubmitterID']) . "</b>") ?><br /> +<?php print __('End') ?>: <b><?php print gmdate("Y-m-d H:i", $row['End']) ?></b></p> <p> <?php print str_replace("\n", "<br />\n", htmlspecialchars($row['Agenda'])) ?> diff --git a/web/template/tu_list.php b/web/template/tu_list.php index 0966a4c2..16dd6901 100644 --- a/web/template/tu_list.php +++ b/web/template/tu_list.php @@ -24,8 +24,8 @@ ?> <a href='tu.php?id=<?php print $row['ID'] ?>'><?php print $row["Agenda"] ?></a></span></span> </td> - <td class='<?php print $c ?>'><span class='f5'><span class='blue'><?php print gmdate("j M y", $row["Submitted"]) ?></span></span></td> - <td class='<?php print $c ?>'><span class='f5'><span class='blue'><?php print gmdate("j M y", $row["End"]) ?></span></span></td> + <td class='<?php print $c ?>'><span class='f5'><span class='blue'><?php print gmdate("Y-m-d", $row["Submitted"]) ?></span></span></td> + <td class='<?php print $c ?>'><span class='f5'><span class='blue'><?php print gmdate("Y-m-d", $row["End"]) ?></span></span></td> <td class='<?php print $c ?>'><span class='f6'><span class='blue'> <?php if (!empty($row['User'])) { |