diff --git a/addons/message_subscription_expiring/isExpiring.js b/addons/message_subscription_expiring/isExpiring.js index ac057dd3317..cd3c94306dd 100644 --- a/addons/message_subscription_expiring/isExpiring.js +++ b/addons/message_subscription_expiring/isExpiring.js @@ -1,6 +1,6 @@ (function(api, condition) { // Show message only if within 1 week of expiring. - const weekBeforeExpireMSecs = api.subscriptionData.expiresOn - 1000 * 60 * 60 * 24; + const weekBeforeExpireMSecs = api.subscriptionData.expiresOn - 1000 * 60 * 60 * 24 * 7; const subscriptionExpiry = api.subscriptionData.expiresOn; const now = Date.now();