...
|
...
|
@@ -74,11 +74,11 @@ export default function EntityViewDirective($compile, $templateCache, $filter, t |
74
|
74
|
function updateMinMaxDates() {
|
75
|
75
|
if (scope.endTs) {
|
76
|
76
|
scope.maxStartTs = angular.copy(new Date(scope.endTs.getTime() - 1000));
|
77
|
|
- scope.entityView.endTs = $filter('date')(scope.endTs, 'yyyy-MM-dd HH:mm:ss');
|
|
77
|
+ scope.entityView.endTs = scope.endTs.getTime();
|
78
|
78
|
}
|
79
|
79
|
if (scope.startTs) {
|
80
|
80
|
scope.minEndTs = angular.copy(new Date(scope.startTs.getTime() + 1000));
|
81
|
|
- scope.entityView.startTs = $filter('date')(scope.startTs, 'yyyy-MM-dd HH:mm:ss');
|
|
81
|
+ scope.entityView.startTs = scope.startTs.getTime();
|
82
|
82
|
}
|
83
|
83
|
}
|
84
|
84
|
|
...
|
...
|
|