'Make sure the date is timezone-aware and being converted/formatted
properly.'

def test_gitlog_date(self):

    tz_names = ['America/New_York', 'Asia/Pyongyang', 'Europe/London', 'Canada/Yukon', 'Europe/Moscow']
    tz_format = DEFAULT_DATE_TIME_FORMAT
    self._setstaff_login()
    self._mkdir(settings.GIT_REPO_DIR)
    self._add_edx4edx()
    date = CourseImportLog.objects.first().created.replace(tzinfo=UTC)
    for timezone in tz_names:
        with override_settings(TIME_ZONE=timezone):
            date_text = get_time_display(date, tz_format, settings.TIME_ZONE)
            response = self.client.get(reverse('gitlogs'))
            self.assertIn(date_text, response.content.decode('UTF-8'))
    self._rm_edx4edx()
