UX: improves dates on reports export UI (#7971)

- show it's UTC
- allows future
- shows date in more human readable format
This commit is contained in:
Joffrey JAFFEUX
2019-08-06 08:41:21 +02:00
committed by GitHub
parent 8390f230b8
commit d8dfa87f24
3 changed files with 30 additions and 8 deletions

View File

@@ -130,9 +130,7 @@
</span>
<div class="input">
{{date-picker-past
value=startDate
defaultDate=startDate}}
{{date-input date=startDate onChange=(action "onChangeStartDate")}}
</div>
</div>
@@ -142,9 +140,7 @@
</span>
<div class="input">
{{date-picker-past
value=endDate
defaultDate=endDate}}
{{date-input date=endDate onChange=(action "onChangeEndDate")}}
</div>
</div>
{{/if}}