Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Personalized periods in journal search modal do not show date range #1654

Merged
merged 2 commits into from
May 16, 2017

Conversation

lomamech
Copy link
Contributor

Personalized periods in journal search modal do not show date range

closes #1620

@lomamech lomamech requested a review from jniles May 15, 2017 15:20
@@ -7,6 +7,10 @@
<span ng-if="$ctrl.period.key !== $ctrl.NO_PERIOD_LIMIT_KEY && $ctrl.period.key !== $ctrl.CUSTOM_PERIOD_KEY">
({{$ctrl.period.start}}) - ({{$ctrl.period.end}})
</span>

<span ng-if="$ctrl.period.customPeriodStart && $ctrl.period.customPeriodEnd">
({{ $ctrl.period.customPeriodStart | date: 'dd/mm/yyyy' }}) - ({{ $ctrl.period.customPeriodEnd | date: 'dd/mm/yyyy' }})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good start! Can you use the bhConstants date format to render this date?

@@ -7,6 +7,10 @@
<span ng-if="$ctrl.period.key !== $ctrl.NO_PERIOD_LIMIT_KEY && $ctrl.period.key !== $ctrl.CUSTOM_PERIOD_KEY">
({{$ctrl.period.start}}) - ({{$ctrl.period.end}})
</span>

<span ng-if="$ctrl.period.customPeriodStart && $ctrl.period.customPeriodEnd">
({{ $ctrl.period.customPeriodStart | date: 'dd/mm/yyyy' }}) - ({{ $ctrl.period.customPeriodEnd | date: 'dd/mm/yyyy' }})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good start! Can you use the bhConstants date format to render this date?

@jniles
Copy link
Collaborator

jniles commented May 16, 2017

LGTM!

@jniles jniles merged commit 1508a81 into IMA-WorldHealth:master May 16, 2017
@lomamech lomamech deleted the renderDateFromTo branch April 7, 2020 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(bug) Personalized Periods in Journal Search Modal do not show date range
2 participants