Improve yearly recurring date text
This commit is contained in:
		
					parent
					
						
							
								5697e313df
							
						
					
				
			
			
				commit
				
					
						e726f953a4
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -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:'F'}}
 | 
					                            <strong class="pull-right">{{invoice.order.created_at|date:'d'|ordinal}} {% trans "of" %} {{invoice.order.created_at|date:'M'}}
 | 
				
			||||||
                            {% 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}}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue