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

Language of timestamp should update on-the-fly #2414

Merged
merged 4 commits into from
Sep 25, 2019

Conversation

compulim
Copy link
Contributor

@compulim compulim commented Sep 22, 2019

Fixes #2360.

Changelog Entry

Fixed

Description

During our last React function component push, a bug was introduced to the RelativeTime.js. If language change, the display didn't adopt.

Specific Changes

  • Fix the bug in RelativeText.js
  • Add tests
  • Update test harness with a new updateProps() function, to introduce changes to the props, so we can modify language after the component is rendered

  • Testing Added

@coveralls
Copy link

coveralls commented Sep 22, 2019

Coverage Status

Coverage increased (+0.4%) to 67.999% when pulling e963ba2 on compulim:fix-2360 into 850890f on microsoft:master.

__tests__/setup/web/index.html Outdated Show resolved Hide resolved
@compulim compulim force-pushed the fix-2360 branch 2 times, most recently from 09f02b3 to cb81cf9 Compare September 25, 2019 03:30
@compulim compulim merged commit 7de0a84 into microsoft:master Sep 25, 2019
@compulim compulim deleted the fix-2360 branch September 25, 2019 07:06
@compulim compulim mentioned this pull request Oct 25, 2019
55 tasks
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.

Timestamp locale does not change when updating language on-the-fly
3 participants