-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
feat: custom job timeline date format #745
Conversation
In my opinion this field should be inside locale field, WDYT? |
Hmm I'm not really sure about that. Will follow your call, but imo it isn't really related to locale since it will now follow the provided format without locale info |
It is a locale matter, like language (the lng property), no? |
I think it is more of a standard (like ISO 8601) 🤔 Anyway, do you wish to move it into |
I'm consulting with you 😄 You convinced me, I will review it soon. |
I've reviewed the PR. I don't like the fact that you are using |
The thing with Like with this options (
|
Hi, maybe the console.log(event.toLocaleDateString(undefined, options));
// expected output (varies according to local timezone and default locale): Thursday, December 20, 2012 |
Hi there @felixmosh This is the result I got |
Ok, I see that it doesn't solves your issue. |
Released in |
#743
dateFormats
inUIConfig
short
: When timestamp is in same day (today)common
: When timestamp is in same yearfull
Seem like
Timeline
is the only place that have date/time format, I didn't check other page/component