Skip to content
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

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tiagocastro070
Copy link

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
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.

2 participants