saleor-dashboard icon indicating copy to clipboard operation
saleor-dashboard copied to clipboard

Add time to publication date and remove deprecated date fields

Open Cloud11PL opened this issue 9 months ago • 2 comments

  • Changes 'date' fields in product availability and publication to 'datetime'
  • Changes 'date' fields in page availability and publication to 'datetime'
  • Replaces deprecated fields with correct ones: availableForPurchase -> availableForPurchaseAt publicationDate -> publishedAt Date -> DateTime

What type of PR is this?

  • [ ] 💅 Refactor
  • [x] 🌟 Feature
  • [ ] 🔥 Bug Fix
  • [ ] 🔩 Maintenance
  • [ ] 🛠 Workflow CI/CD changes

Related Issues or Documents

  • closes #

Usage Instructions, Screenshots, Recordings

CleanShot 2024-05-10 at 11 01 19 CleanShot 2024-05-10 at 11 01 42 CleanShot 2024-05-10 at 11 02 05

Have you written tests?

  • [ ] Yes!
  • [ ] No... here is why: Writing tests are mandatory, please replace this text with why test are not included in this PR

[Optional] Description

Cloud11PL avatar May 10 '24 08:05 Cloud11PL

🦋 Changeset detected

Latest commit: fa14a55d5c732b4bdc2e17e9d280c59af29b8c21

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
saleor-dashboard Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar May 10 '24 08:05 changeset-bot[bot]

Do we still need to fill the old date fields (availableForPurchase and publicationDate) with the selected date?

mirekm avatar May 10 '24 17:05 mirekm

@mirekm No, Saleor syncs old fields with new fields 🙂

Cloud11PL avatar May 13 '24 07:05 Cloud11PL