diff --git a/awx/ui/static/js/system-tracking/data-services/fact-scan-data.service.js b/awx/ui/static/js/system-tracking/data-services/fact-scan-data.service.js index a3b93507e3..9805dfdf2d 100644 --- a/awx/ui/static/js/system-tracking/data-services/fact-scan-data.service.js +++ b/awx/ui/static/js/system-tracking/data-services/fact-scan-data.service.js @@ -9,7 +9,7 @@ function (Rest, GetBasePath, ProcessErrors, _) { function buildUrl (host_id, module, startDate, endDate) { var url = GetBasePath('hosts') + host_id + '/fact_versions/', - params= [["module", module] , ['from', startDate.format('YYYY-MM-DD')], ['to', endDate.format('YYYY-MM-DD')]]; + params= [["module", module] , ['from', startDate.format()], ['to', endDate.format()]]; params = params.filter(function(p){ return !_.isEmpty(p[1]);