Skip to content

Enforce promotion expiry checks - #1248

Open
pfferrari wants to merge 1 commit into
mainfrom
fix/752-promotion-expired-status
Open

pfferrari wants to merge 1 commit into
mainfrom
fix/752-promotion-expired-status

Conversation

@pfferrari

Copy link
Copy Markdown
Contributor

Closes commercelayer/issues-app/issues/752

What I did

Replaced getEventDateInfo date helper with a promotion dedicated getPromotionTimeframe helper aimed to compare promotion related dates.

The getEventDateInfo helper was then removed (from helpers, docs, exports) due to not being used anymore by our internal consumers.

Checklist

  • Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests).
  • Make sure to add/update documentation regarding your changes.
  • You are NOT deprecating/removing a feature.

@netlify

netlify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for commercelayer-app-elements ready!

Name Link
🔨 Latest commit 2986778
🔍 Latest deploy log https://app.netlify.com/projects/commercelayer-app-elements/deploys/6ac4d66c0158c80008aa4129
😎 Deploy Preview https://deploy-preview-1248--commercelayer-app-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@pfferrari pfferrari changed the title fix: enforce promotion expiry checks Enforce promotion expiry checks Oct 6, 2026
@pfferrari pfferrari self-assigned this Oct 6, 2026
@pfferrari pfferrari added the bug Something isn't working label Oct 6, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants