Skip to main content
Planned for development

Format dates based on the browser locale

Related products:Search and Data Exploration
  • Øystein Aspøy
    Øystein Aspøy
  • rsiddha
  • Rajas Athale

Peter Quinn
Committed

When I look at dates in CDF, it represents them as AA.BB.YYYY. As an American, used to seeing dates in the MM-DD-YYYY format, I have to think a minute about which is the day and which is the month. 

Specifically, I’m looking at the list of data models and the Last Modified column. Charts uses YYYY-MM-DD, which is somewhat better as it’s more clear, but still not “normal”. Extraction Pipelines tell you the delta “3 months ago” or “2 days ago” with a tooltip in YYY-MM-DD.

It would be nice if dates were shown using the browser’s locale. There are functions in most languages to get the browser locale and format the dates accordingly. So, I would see MM-DD-YYYY and my European colleagues would see DD-MM-YYYY. It would be nice if it were done consistently across CDF too.

Note, I’m not talking about time zones, only the date/time formatting. Adjusting for time zones is another topic entirely.

3 replies

Sofie Svartdal Berge
Seasoned Practitioner

Hi @Peter Quinn !
Thank you for raising this. We’ve had discussions around this quite a few times I’ll tell you! Unfortunately I can not give you a timeline at this point, but I’m bringing it with me into prioritization discussions as a topic for improved overall user experience across the portfolio. 

Best, 

Sofie Berge, Lead Product Manager End User Experience


Andrew Wagner
Committed

This change should be in baseline functionality of all software. All of our users are US based and will be frustrated by the DD/MM/YYYY format, especially earlier in the year when days can be construed as months. Please fix this asap. 


Hi,

I want to provide an update on this. We now have a solution ready and are working to ensure all teams are prepared to update before we can officially release it.

By default, the implementation will follow the language settings in CDF. Since we do not support all languages, we wanted to avoid a potentially confusing setup. For English, we follow US English conventions, which means the default time format will be US-style if English is selected. However, users will have the option to override these settings, and we provide full support for all time and date formats.


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings