[opw-web] Fix contract acceptance date format strings
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [opw-web] Fix contract acceptance date format strings
- Date: Mon, 28 Dec 2015 20:22:25 +0000 (UTC)
commit 186f46e1b236cd612d5341f64076be5b8487b350
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Mon Dec 28 15:22:09 2015 -0500
Fix contract acceptance date format strings
modules/mod_contract.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/mod_contract.php b/modules/mod_contract.php
index 92a17c3..f373cf7 100644
--- a/modules/mod_contract.php
+++ b/modules/mod_contract.php
@@ -168,7 +168,7 @@ if ($action == 'edit_student' || $action == 'edit_mentor') {
$pdf->write(0, "\n");
$contract = 'E-Signed';
$contract .= ' by "' . $row['contract_entered_name'] . '"';
- $contract .= ' on ' . date('M d, Y h:m:s', $row['contract_accepted_time']);
+ $contract .= ' on ' . date('M d, Y H:i:s', $row['contract_accepted_time']);
if ($row['contract_accepted_from'] != '')
$contract .= ' from ' . str_replace(' ', ' via ', $row['contract_accepted_from']);
$contract .= ' using ' .$config->site_url;
@@ -315,7 +315,7 @@ if ($action == 'edit_student' || $action == 'edit_mentor') {
'from_visibility' => $skin->visibility($contract_accepted_from != ''),
'program_mentor_visibility' => $skin->visibility($is_mentor),
'program_student_visibility' => $skin->visibility($is_student),
- 'contract_accepted_time' => date('M d, Y h:m:s', $contract_accepted_time),
+ 'contract_accepted_time' => date('M d, Y H:i:s', $contract_accepted_time),
'contract_entered_name' => htmlspecialchars($contract_entered_name),
'contract_accepted_from' => htmlspecialchars(str_replace(' ', $via, $contract_accepted_from)),
'contract_html' => $contract_html,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]