Skip to content

feat(formatDate): adds new date helper function #3

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 3 commits into from
Jun 3, 2025

Conversation

tiagocastro070
Copy link
Contributor

Summary

  • This PR adds a new utility function to format dates consistently across an application.

This commit

  • Introduces a formatDate helper function that wraps Date.toLocaleDateString()
  • Supports custom locales and formatting options.
  • Provides default formatting options for consistency
  • Adds Cypress tests

@JoaoTMDias JoaoTMDias self-requested a review January 22, 2025 14:49
Copy link
Collaborator

@JoaoTMDias JoaoTMDias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @tiagocastro070! And thank you for your contributtion :)

fix: adds formatDate documentation
@JoaoTMDias JoaoTMDias merged commit 28c63da into feedzai:main Jun 3, 2025
Copy link
Contributor

github-actions bot commented Jun 3, 2025

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants