{% if date %}
  {% capture date_format %}{% t date.formats.short_humanized %}{% endcapture %}
  {% capture formatted_date %}{{ date | date: date_format }}{% endcapture %}
  <time class="np-product-expiration-date" datetime="{{ date }}">
    {% t .label, date: formatted_date %}
  </time>
{% endif %}
