From 0cb5f101ae1440a3a7fc81b6d10cac46eba2c875 Mon Sep 17 00:00:00 2001 From: Brian Wilson Date: Thu, 24 Jan 2013 01:18:10 -0500 Subject: [PATCH] add UTC time to registration end date --- common/lib/xmodule/xmodule/course_module.py | 2 +- lms/templates/test_center_register.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/lib/xmodule/xmodule/course_module.py b/common/lib/xmodule/xmodule/course_module.py index 5416dae583..7f97ca69dc 100644 --- a/common/lib/xmodule/xmodule/course_module.py +++ b/common/lib/xmodule/xmodule/course_module.py @@ -655,7 +655,7 @@ class CourseDescriptor(SequenceDescriptor): @property def registration_end_date_text(self): - return time.strftime("%b %d, %Y", self.registration_end_date) + return time.strftime("%b %d, %Y at %H:%M UTC", self.registration_end_date) @property def current_test_center_exam(self): diff --git a/lms/templates/test_center_register.html b/lms/templates/test_center_register.html index f6c53c0e89..6b87860fad 100644 --- a/lms/templates/test_center_register.html +++ b/lms/templates/test_center_register.html @@ -466,7 +466,7 @@ Last Eligible Appointment Date: ${exam_info.last_eligible_appointment_date_text}
  • - Registration End Date: ${exam_info.registration_end_date_text} + Registration Ends: ${exam_info.registration_end_date_text}
  • % endif