Skip to content

Conversation

@Krishanthaudayakumara
Copy link
Owner

Description / Motivation

Testing

  • The Unit & Intergration tests are passing.
  • I have added the necessary tests to cover my changes.

Terms

… test cultures

- Updated DateTagHelper to use CultureInfo.InvariantCulture when DateFormat is specified and no explicit Culture is set, ensuring consistent date output regardless of system locale.
- Explicitly set culture to en-US in RichTextFieldTagHelperFixture and other relevant integration test fixtures to make test expectations stable and independent of the developer's environment.
- Updated test assertions to use the correct culture where appropriate.
- Resolves test failures related to date formatting when running tests under non-US locales (e.g., da-DK).
…gHelperFixture.cs, extracting the culture selection logic into a separate variable for better readability in DateTagHelper.cs
…eFieldTagHelperFixture.cs, extracting the culture selection logic into a separate variable for better readability in DateTagHelper.cs"

This reverts commit 979e588.
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