We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I personally don't like the format that toLocaleString() returns (24/10/2019 2:36:56).
toLocaleString()
24/10/2019 2:36:56
It would be nice if there was an option to pass its options like dateStyle: 'long', timeStyle: 'short', etc.
dateStyle: 'long'
timeStyle: 'short'
e.g.
$.timeago.settings.LocaleFormat = {dateStyle: 'medium', timeStyle: 'short', hour12: true}; // $(this).attr("title", date.toLocaleString(undefined, $t.settings.LocaleFormat));
will show as Oct 8, 2019, 2:36 AM
Oct 8, 2019, 2:36 AM
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I personally don't like the format that
toLocaleString()
returns (24/10/2019 2:36:56
).It would be nice if there was an option to pass its options like
dateStyle: 'long'
,timeStyle: 'short'
, etc.e.g.
will show as
Oct 8, 2019, 2:36 AM
The text was updated successfully, but these errors were encountered: