PHRAS-2978 #comment Workzone basket: fix date format and tooltip display

This commit is contained in:
Harrys Ravalomanana
2020-03-11 16:59:44 +04:00
parent 900d56e09d
commit c4d33f5f55
3 changed files with 64 additions and 10 deletions

View File

@@ -89,7 +89,7 @@
{% endif %}
</div>
{% if basket.getValidation() %}
{% set dateExpired = app['date-formatter'].getPrettyString(basket.getValidation().getExpires()) %}
{% set dateExpired = app['date-formatter'].getLocalDate(basket.getValidation().getExpires()) %}
<span class="expiredDate" style="float: right; padding: 8px;margin-top: -39px;">
{{ 'workzone:feedback:expiration' | trans }} : {{ dateExpired }}</span>
{% endif %}