From 798866d872251ee3023537418ccf91efec7f4170 Mon Sep 17 00:00:00 2001 From: Stefan Oderbolz Date: Thu, 26 Nov 2015 01:49:11 +0100 Subject: [PATCH] Fix name of class to enable automatic conversion of datetimes when ckan/ckan#2505 got finally merged, the class name to mark datetimes with a time part that can be automatically converted to the users timezone, changed. This commit makes sure this change is reflected in ckanext-harvest. --- ckanext/harvest/templates_new/snippets/job_details.html | 6 +++--- ckanext/harvest/templates_new/source/job/list.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ckanext/harvest/templates_new/snippets/job_details.html b/ckanext/harvest/templates_new/snippets/job_details.html index 27daeff..a2bf26b 100644 --- a/ckanext/harvest/templates_new/snippets/job_details.html +++ b/ckanext/harvest/templates_new/snippets/job_details.html @@ -51,7 +51,7 @@ Example: {{ _('Created') }} - + {{ h.render_datetime(job.created, with_hours=True) }} @@ -59,7 +59,7 @@ Example: {{ _('Started') }} - + {{ h.render_datetime(job.gather_started, with_hours=True) }} @@ -67,7 +67,7 @@ Example: {{ _('Finished') }} - + {{ h.render_datetime(job.finished, with_hours=True) }} diff --git a/ckanext/harvest/templates_new/source/job/list.html b/ckanext/harvest/templates_new/source/job/list.html index c147167..aefd494 100644 --- a/ckanext/harvest/templates_new/source/job/list.html +++ b/ckanext/harvest/templates_new/source/job/list.html @@ -26,12 +26,12 @@

{{ _('Started:') }} - + {{ h.render_datetime(job.gather_started, with_hours=True) or _('Not yet') }} — {{ _('Finished:') }} - + {{ h.render_datetime(job.finished, with_hours=True) or _('Not yet') }}