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

Date format option #62

Open
BBGamingNL opened this issue Aug 2, 2023 · 1 comment
Open

Date format option #62

BBGamingNL opened this issue Aug 2, 2023 · 1 comment
Labels
wontfix This will not be worked on

Comments

@BBGamingNL
Copy link

I had the idea for, being able to change the way the date is written.

example instead of "Aug 2, 12:18",
"12:18, 2 Aug."

Then for the setting can be filled in this way
https://momentjs.com/docs/#/displaying/format/

Would this be possible?

@deepjyoti30
Copy link
Owner

deepjyoti30 commented Oct 15, 2023

I am not sure about using moment but some sort of formatting might be possible.

EDIT: Looked through the code and we are using toLocaleString to generate the time. Afaik, JS doesn't have a lot of flexibility in terms of custom formatted time but I am skeptical to introduce moment.js as a dependency.

I don't think the feature is worth it to introduce a dependency like moment to get just custom formatting working.

@deepjyoti30 deepjyoti30 added the wontfix This will not be worked on label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants