AspNetCore.Diagnostics.HealthChecks icon indicating copy to clipboard operation
AspNetCore.Diagnostics.HealthChecks copied to clipboard

How to change date format on the Client UI

Open SirwanAfifi opened this issue 6 years ago • 8 comments

Hi, thanks for this project, I'm wondering if I could change the date time format on the Client UI page. Do we have a setting for this?

image

SirwanAfifi avatar Feb 22 '19 13:02 SirwanAfifi

Hi @CarlosLanderas

This issue can be an interesting new feature! :-)

unaizorrilla avatar Feb 22 '19 13:02 unaizorrilla

Yes we can add the desired date format in the UI options 👍. I'll do it

CarlosLanderas avatar Feb 22 '19 20:02 CarlosLanderas

I think that the feature is change the uiculture, not only the date format, right?

unaizorrilla avatar Feb 22 '19 21:02 unaizorrilla

We can do it in both ways, configuring culture option with current UI culture or date format in JsonSerialization Settings so they are automatically formatted on deserialization.

Whatever you prefer

CarlosLanderas avatar Feb 22 '19 21:02 CarlosLanderas

Hi guys, what about give the option to humanize dates? I mean, let user decide to see dates in following format:

2 hours ago 20 minutes ago a day ago

snavarropino avatar Mar 22 '19 17:03 snavarropino

I need help regarding the same. Is it implemented?

rahul230691 avatar Jul 20 '21 03:07 rahul230691

I need help regarding the same. Is it implemented?

wudiqiang2024 avatar Feb 19 '24 08:02 wudiqiang2024

@CarlosLanderas How to set the timespan format of DURATION column?

wudiqiang2024 avatar Feb 19 '24 08:02 wudiqiang2024