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

Make locale configurable #26

Open
dionyziz opened this issue Mar 30, 2024 · 6 comments
Open

Make locale configurable #26

dionyziz opened this issue Mar 30, 2024 · 6 comments
Labels
💰 Bounty Get paid to solve this. good first issue Good for newcomers

Comments

@dionyziz
Copy link

The locale is hardcoded to be Norwegian. Please make it configurable or at least inherited from system settings. Thanks!

@HelgeSverre
Copy link
Owner

HelgeSverre commented Mar 31, 2024 via email

@HelgeSverre HelgeSverre added good first issue Good for newcomers 💰 Bounty Get paid to solve this. labels Jul 9, 2024
@HelgeSverre
Copy link
Owner

💸 5$ USD bounty

@samhoooo
Copy link

Hi @HelgeSverre , I have created a simple PR to address the issue #34. Please kindly review or give sggestions.

(I don't want the bounty but just to contribute, thanks for your great work!)

@pattang56892
Copy link

pattang56892 commented Nov 30, 2024

Thank you for opening sourcing this.
I will fix this, and no reward needed -> just to showcasing my gratitude towards you for opening sourcing this.
I have forked this, and am working on it. Thanks.

@pattang56892
Copy link

@HelgeSverre
Hi there, this is done.
All you have to do is:

  1. go to the file: "Sidebar.vue"; and
  2. Ensure you change "no" to "en-US" as shown below, and it will convert the locale from Norwegian to English.
{{ chat.createdAt.toLocaleDateString('en-US', { day: '2-digit', month: 'short', weekday: 'long', hour: '2-digit', minute: '2-digit', second: '2-digit', }) }}

01

I hope this helps.
Thanks again for open sourcing this code.

@pattang56892
Copy link

@dionyziz
Pls see my comment above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💰 Bounty Get paid to solve this. good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants