Skip to content

chore(test): extend regexp to verify results from UserFriendlyDate function - #3842

Open
hainenber wants to merge 1 commit into
cloudfoundry:mainfrom
hainenber:fix-failed-user-friendly-date-unit-test-on-local
Open

chore(test): extend regexp to verify results from UserFriendlyDate function#3842
hainenber wants to merge 1 commit into
cloudfoundry:mainfrom
hainenber:fix-failed-user-friendly-date-unit-test-on-local

Conversation

@hainenber

Copy link
Copy Markdown

Description of the Change

On local machine, unit test for UserFriendlyDate machine could have different locale and in turns, failing the expected regexp with additional "+" or "-" in the timezone offset.

This PR is to rectify such issue.

Before
image

After
image

Why Is This PR Valuable?

No changes to existing functionalities but to improve local developer experience.

Applicable Issues

N/A

How Urgent Is The Change?

No urgent

Other Relevant Parties

Only developers from different locales/timezones

…nction

Signed-off-by: hainenber <dotronghai96@gmail.com>
@linux-foundation-easycla

linux-foundation-easycla Bot commented Aug 16, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: hainenber / name: hainenber (badb5ae)

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