Skip to content

Commit

Permalink
Handle new time_during value in date picker
Browse files Browse the repository at this point in the history
  • Loading branch information
gberaudo committed May 22, 2018
1 parent 5a0d77b commit c45c199
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/filter/rulecomponent.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
ng-switch-when="date|datetime"
ng-switch-when-separator="|">
<div ng-switch="$ctrl.clone.operator">
<div ng-switch-when="..">
<div ng-switch-when="..|time_during" ng-switch-when-separator="|">
<ngeo-date-picker
time="$ctrl.timeRangeMode"
on-date-selected="$ctrl.onDateRangeSelected(time)">
Expand Down Expand Up @@ -237,7 +237,7 @@
ng-switch-when="date|datetime"
ng-switch-when-separator="|">
<div ng-switch="$ctrl.rule.operator">
<div ng-switch-when="..">
<div ng-switch-when="..|time_during" ng-switch-when-separator="|">
<span translate>From </span>
<span>{{ $ctrl.timeToDate($ctrl.rule.lowerBoundary) }}</span>
<span translate> to </span>
Expand Down Expand Up @@ -284,7 +284,7 @@

<div ng-switch-default>
<div ng-switch="$ctrl.rule.operator">
<div ng-switch-when="..">
<div ng-switch-when="..|time_during" ng-switch-when-separator="|">
<span translate>Between </span>
<span>{{ $ctrl.rule.lowerBoundary }}</span>
<span translate> and </span>
Expand Down

0 comments on commit c45c199

Please sign in to comment.