Bug identified with date formats

Hi team,

Yesterday, I has the surprise to see my date formats change in my environment.
Only in mine, and maybe because I am using my OS and browser in English.

So my dates now appear in American.

But when I change the date format display for a specific field, it is applied to other date fields, and even to other date fields of other collections, while it should not.
It is very disturbing and does not work as expected.

Please have a look at this video:

Thanks in advance

My setup:
“database_type”: “postgres”,
“liana”: “forest-express-sequelize”,
“liana_version”: “6.6.3”,
“engine”: “nodejs”,
“engine_version”: “12.13.1”,
“orm_version”: “5.22.3”

Hi @Louis-Marie :wave: ,

The date format is now based on the default language of your browser.

To change date format in Chrome:

  1. Go to your chrome settings
  2. Search for language
  3. Change your default language

English (United Kingdom) will display DD-MM-YYYY

English (United States) will display MM-DD-YYYY

Hope this helps!

Hi @louis

Thanks, but I need the English format for some other websites.

Have you looked at the video?
One format change is populated to other fields even in other collections.
This has to be fixed for sure :wink:

Thanks.

@Louis-Marie, Sorry for answering too quickly. Indeed, there seems to be a bug on the date format update which update other fields :+1:

We’re investigating on this!

Hello @Louis-Marie ! I’m currently investigating your issue, but did not manage to reproduce it. We’ve released some changes recently, could you please tell me if you still experience the issue after updating your field settings ?

Thanks in advance!

Hi @remi

Yes, I still have the problem.

Please have a look at the video that I have just made:

Each time I am update date format for deleted_at, it impacts deleted_at
and vice versa …

Thanks

Hello @Louis-Marie,

You do not seem to have the latest version of the frontend in this video. It looks like your browser cached some old version of the website. Can you please try to do a hard refresh in your browser on the project page and try again?

Please let me know if the issue persists

Hi @anon90145840

Yes, it appears to work as expected now.

Thanks.

1 Like