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>
<span>{% trans "Recurring" %}: </span>
{% 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>
{% else %}
<strong class="pull-right">{{invoice.order.created_at|date:'d'|ordinal}}