From e6878ad249d09a56e255cfe902017d0cb472793b Mon Sep 17 00:00:00 2001
From: anonymous <anonymous>
Date: Tue, 25 Jun 2019 11:10:34 +0200
Subject: [PATCH] fix missing helpers

---
 ckanext/odsh/plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ckanext/odsh/plugin.py b/ckanext/odsh/plugin.py
index c27478a9..2a3ea488 100644
--- a/ckanext/odsh/plugin.py
+++ b/ckanext/odsh/plugin.py
@@ -541,7 +541,7 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
     
     def _is_package_new(self, pkg_dict):
         date_last_modified = self._get_date_from_string(pkg_dict['metadata_modified'])
-        is_new = odsh_helpers.date_checker.is_within_last_month(date_last_modified)
+        is_new = odsh_helpers.is_within_last_month(date_last_modified)
         return is_new
     
     def _get_date_from_string(self, date_time_str):
-- 
GitLab