Fix month name

This commit is contained in:
PCoder 2019-11-15 21:23:04 +05:30
parent e726f953a4
commit 530e47586e

View file

@ -196,7 +196,7 @@
<p> <p>
<span>{% trans "Recurring" %}: </span> <span>{% trans "Recurring" %}: </span>
{% if invoice.order.generic_product.product_subscription_interval == 'year' %} {% if invoice.order.generic_product.product_subscription_interval == 'year' %}
<strong class="pull-right">{{invoice.order.created_at|date:'d'|ordinal}} {% trans "of" %} {{invoice.order.created_at|date:'M'}} <strong class="pull-right">{{invoice.order.created_at|date:'d'|ordinal}} {% trans "of" %} {{invoice.order.created_at|date:'b'|title}}
{% trans "each year" %}</strong> {% trans "each year" %}</strong>
{% else %} {% else %}
<strong class="pull-right">{{invoice.order.created_at|date:'d'|ordinal}} <strong class="pull-right">{{invoice.order.created_at|date:'d'|ordinal}}