Skip to content

fix(date_utils): update getDayOfWeekCode to use "E" format instead of "ddd" #5518

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FLT4613
Copy link

@FLT4613 FLT4613 commented Mar 25, 2025

Description

Update format strings to match date-fns syntax after migrating from Moment.js, as the original format patterns were no longer compatible

Problem

After migrating from Moment.js to date-fns, the date format string were still using the old Moment.js syntax.

Changes

Update getDayOfWeekCode to use "E" format instead of "ddd"

Screenshots

To reviewers

Contribution checklist

  • I have followed the contributing guidelines.
  • I have added sufficient test coverage for my changes.
  • I have formatted my code with Prettier and checked for linting issues with ESLint for code readability.

Sorry, something went wrong.

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.

None yet

1 participant