Bug #8078
closedSubstitution [SUBSCRIPTION_VALIDITY_PERIOD_REMAINING] substitutes to the total period of the current subscription instead of the remaining time
Description
Using this substitution string in the CBSubs Mailer returns the total subscription validity period, not the validity period remaining.
I defined a test mailer as "90 days before" Subscription expiry date, on all my annual (one year) plans
The email subject:[SUBSCRIPTION_EXPIRY_DATE] - [SUBSCRIPTION_VALIDITY_PERIOD_REMAINING]
The [SUBSCRIPTION_VALIDITY_PERIOD_REMAINING] values were all "1 year" - not the difference between the expiration date and today's date, which is what I expected.
Confirmed, was always so.
Should probably be renamed into [SUBSCRIPTION_VALIDITY_PERIOD] and see how we can have a reasonable time-left display for [SUBSCRIPTION_VALIDITY_PERIOD_REMAINING].
Updated by beat over 4 years ago
- Related to Feature proposal #8079: Internationalization: Better pluralization of time-periods added
Updated by beat over 4 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Fixed in MR !200 with commit 6b3313ed3a220f2a9fe8cf28a0bf64ac0fc6cc05