From d2b5877760bd91097038ad28afe997540371ac64 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Thu, 25 Sep 2014 00:00:02 -0500 Subject: [PATCH] Fix PDF header date to use local time - refs BT#7286 --- main/inc/lib/pdf.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/inc/lib/pdf.lib.php b/main/inc/lib/pdf.lib.php index 9677d92193..ca04e1c94e 100755 --- a/main/inc/lib/pdf.lib.php +++ b/main/inc/lib/pdf.lib.php @@ -83,7 +83,7 @@ class PDF Display::$global_template->assign('pdf_course', $this->params['course_code']); Display::$global_template->assign('pdf_course_info', $this->params['course_info']); Display::$global_template->assign('pdf_session_info', $this->params['session_info']); - Display::$global_template->assign('pdf_date', api_format_date(api_get_utc_datetime(), DATE_TIME_FORMAT_LONG)); + Display::$global_template->assign('pdf_date', api_format_date(api_get_local_time(), DATE_TIME_FORMAT_LONG)); Display::$global_template->assign('pdf_teachers', $teacher_list); Display::$global_template->assign('pdf_title', $this->params['pdf_title']); Display::$global_template->assign('add_signatures', $this->params['add_signatures']);