Skip to content

refactor: deduplicate date formatting options#282

Merged
andygrunwald merged 1 commit intomainfrom
refactor/date-utils-dedup
Mar 21, 2026
Merged

refactor: deduplicate date formatting options#282
andygrunwald merged 1 commit intomainfrom
refactor/date-utils-dedup

Conversation

@andygrunwald
Copy link
Member

Summary

  • Extract shared baseOptions object to eliminate repeated date format configuration
  • Three functions had near-identical options objects; now they share one base and extend as needed

Test plan

  • astro build succeeds
  • Verify dates display correctly on blog posts and changelog entries

🤖 Generated with Claude Code

Extract shared base options object to eliminate repeated date format
configuration across three functions that only differ by the inclusion
of the weekday field.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netlify
Copy link

netlify bot commented Mar 21, 2026

Deploy Preview for lively-frangollo-e43a02 ready!

Name Link
🔨 Latest commit ca73a72
🔍 Latest deploy log https://app.netlify.com/projects/lively-frangollo-e43a02/deploys/69bf0132bd29070008df53b7
😎 Deploy Preview https://deploy-preview-282--lively-frangollo-e43a02.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.

@andygrunwald andygrunwald merged commit 43bd514 into main Mar 21, 2026
5 checks passed
@andygrunwald andygrunwald deleted the refactor/date-utils-dedup branch March 21, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant