Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Use Intl to localise dates and times #11422

Merged
merged 26 commits into from
Aug 21, 2023
Merged

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Aug 17, 2023

For element-hq/element-web#25608


This change is marked as an internal change (Task), so will not be included in the changelog.

@t3chguy t3chguy added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Aug 17, 2023
@t3chguy t3chguy self-assigned this Aug 17, 2023
@t3chguy t3chguy changed the title Get country names from the browser instead of manual i18n Get localisations from the browser instead of manual i18n Aug 18, 2023
@t3chguy t3chguy force-pushed the t3chguy/localazy-use-intl branch from 9e3a441 to 498b9dd Compare August 18, 2023 09:04
@t3chguy t3chguy marked this pull request as ready for review August 18, 2023 09:42
@t3chguy t3chguy requested a review from a team as a code owner August 18, 2023 09:42
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm afraid I'm getting bored here. There's a lot changing, please break into smaller PRs.

src/DateUtils.ts Show resolved Hide resolved
src/DateUtils.ts Show resolved Hide resolved
src/DateUtils.ts Outdated Show resolved Hide resolved
src/DateUtils.ts Outdated Show resolved Hide resolved
src/DateUtils.ts Outdated Show resolved Hide resolved
@t3chguy t3chguy force-pushed the t3chguy/localazy-use-intl branch from 9e4ec99 to 88ab4ab Compare August 18, 2023 11:55
@t3chguy
Copy link
Member Author

t3chguy commented Aug 18, 2023

Thanks @richvdh - split out #11427 & #11428 - will address your comments on this PR next

@t3chguy t3chguy requested a review from richvdh August 18, 2023 13:39
src/DateUtils.ts Outdated Show resolved Hide resolved
src/DateUtils.ts Outdated Show resolved Hide resolved
src/DateUtils.ts Outdated Show resolved Hide resolved
src/DateUtils.ts Show resolved Hide resolved
test/utils/DateUtils-test.ts Outdated Show resolved Hide resolved
src/languageHandler.tsx Outdated Show resolved Hide resolved
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm otherwise

src/DateUtils.ts Outdated Show resolved Hide resolved
@t3chguy t3chguy enabled auto-merge August 21, 2023 19:06
@t3chguy t3chguy added this pull request to the merge queue Aug 21, 2023
Merged via the queue into develop with commit 3c52ba0 Aug 21, 2023
@t3chguy t3chguy deleted the t3chguy/localazy-use-intl branch August 21, 2023 20:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants