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

Use Date/toLocale* to format date/time #475

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

johnd0e
Copy link
Contributor

@johnd0e johnd0e commented Mar 26, 2021

New window.locale variable to store preferred languages (to use in date/time formatting).
Exact time/date format is defined with Intl.DateTimeFormat options.
Applied to chat and region_scoreboard.

Same for plugins: #397.
General discussion: #458.


This change is Reviewable

@johnd0e johnd0e added core development general development issue labels Mar 26, 2021
@johnd0e
Copy link
Contributor Author

johnd0e commented Mar 26, 2021

Todo:

  • better time style in chat?
  • common date/time options to be applied in all formats (e.g. change timezone, or preferred 12hour-style)

@le-jeu le-jeu mentioned this pull request Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core development general development issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant