Skip to content

add a util to format compatibility dates #10043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 23, 2025
Merged

add a util to format compatibility dates #10043

merged 4 commits into from
Jul 23, 2025

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Jul 22, 2025

Add a util to format a date as YYYY-MM-DD

It is called multiple times in the current code and +2 times in pending PRs.


  • Tests
    • Tests included
    • Tests not necessary because: already tested
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: refactoring
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: refactoring

@vicb vicb requested review from a team as code owners July 22, 2025 17:16
Copy link

changeset-bot bot commented Jul 22, 2025

⚠️ No Changeset found

Latest commit: 17e2729

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

Copy link

pkg-pr-new bot commented Jul 22, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@10043

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@10043

miniflare

npm i https://pkg.pr.new/miniflare@10043

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@10043

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@10043

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@10043

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@10043

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@10043

wrangler

npm i https://pkg.pr.new/wrangler@10043

commit: 17e2729

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Jul 23, 2025
@danowar2
Copy link

Thanks for the update

@vicb vicb merged commit 715ca2a into main Jul 23, 2025
29 checks passed
@vicb vicb deleted the vicb/compat-date branch July 23, 2025 10:49
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants