diff --git a/ckanext/datesearch/fanstatic/daterangepicker-module.js b/ckanext/datesearch/fanstatic/daterangepicker-module.js index 3b0a9a9..141fb61 100644 --- a/ckanext/datesearch/fanstatic/daterangepicker-module.js +++ b/ckanext/datesearch/fanstatic/daterangepicker-module.js @@ -61,7 +61,7 @@ this.ckan.module('daterangepicker-module', function ($, _) { case 'end': // Set the value of the hidden to // the chosen end date. - $('#ext_enddate').val(v.add('y', 1).subtract('s', 1).format(fs) + 'Z'); + $('#ext_enddate').val(v.add('y', 1).subtract('h', 3).format(fs) + 'Z'); break; }