diff --git a/ui/app/scripts/controllers/case/CaseListCtrl.js b/ui/app/scripts/controllers/case/CaseListCtrl.js index 4fe6427ba5..a98bc152ce 100644 --- a/ui/app/scripts/controllers/case/CaseListCtrl.js +++ b/ui/app/scripts/controllers/case/CaseListCtrl.js @@ -89,7 +89,7 @@ }); } } else if (filterDef.type === 'date') { - date = moment(value, ['YYYYMMDDTHHmmZZ', 'DD-MM-YYYY HH:mm']); + date = moment(value); this.uiSrv.activeFilters[field] = { value: { from: date.hour(0).minutes(0).seconds(0).toDate(), @@ -107,7 +107,7 @@ }] }; } else if (filterDef.type === 'date') { - date = moment(value, ['YYYYMMDDTHHmmZZ', 'DD-MM-YYYY HH:mm']); + date = moment(value); this.uiSrv.activeFilters[field] = { value: { from: date.hour(0).minutes(0).seconds(0).toDate(), diff --git a/ui/app/scripts/controllers/case/CaseObservablesCtrl.js b/ui/app/scripts/controllers/case/CaseObservablesCtrl.js index 4d4d99ff92..f9ae34e74e 100644 --- a/ui/app/scripts/controllers/case/CaseObservablesCtrl.js +++ b/ui/app/scripts/controllers/case/CaseObservablesCtrl.js @@ -94,7 +94,7 @@ }); } } else if (filterDef.type === 'date') { - date = moment(value, ['YYYYMMDDTHHmmZZ', 'DD-MM-YYYY HH:mm']); + date = moment(value); $scope.uiSrv.activeFilters[field] = { value: { from: date.hour(0).minutes(0).seconds(0).toDate(), @@ -112,7 +112,7 @@ }] }; } else if (filterDef.type === 'date') { - date = moment(value, ['YYYYMMDDTHHmmZZ', 'DD-MM-YYYY HH:mm']); + date = moment(value); $scope.uiSrv.activeFilters[field] = { value: { from: date.hour(0).minutes(0).seconds(0).toDate(), diff --git a/ui/app/views/partials/case/case.list.html b/ui/app/views/partials/case/case.list.html index ad5251cc35..78ce4a2b50 100644 --- a/ui/app/views/partials/case/case.list.html +++ b/ui/app/views/partials/case/case.list.html @@ -95,7 +95,11 @@

List of cases ({{$vm.list.total || 0}} of {{$vm.caseStats.count}})

- {{currentCase.startDate | showDate}} + + + {{currentCase.startDate | shortDate}} + + diff --git a/ui/app/views/partials/observables/list/artifacts-list-main.html b/ui/app/views/partials/observables/list/artifacts-list-main.html index 0926826082..12fa74a66a 100644 --- a/ui/app/views/partials/observables/list/artifacts-list-main.html +++ b/ui/app/views/partials/observables/list/artifacts-list-main.html @@ -57,8 +57,8 @@

List of observables ({{artifacts.total || 0}} of {{artifactStats.count}}) {{(artifact.data | fang) || (artifact.attachment.name | fang)}} - - + + Run all analyzers