Date field is not well formatted in detailed view

Expected behavior

A field configured as date should be formatted in the same way on all view (list, detailed, custom panel)

Actual behavior

Currently, the field is well formatted in list view
Capture d’écran 2020-10-02 à 10.18.49

but not in detailed view
Capture d’écran 2020-10-02 à 10.19.01

even if the field is configured as date.

And if I choose a custom format, it will be applied in list view, but not in detailed view.

The field is well configured as date in DB (sequelize/postgres)

      birthDate: {
        type: Sequelize.DATE,
        allowNull: true,
      }

and in Sequelize model

  @IsDate
  @Column(DataType.DATEONLY)
  get birthDate(): Date | undefined {
    return this.getDataValue("birthDate") ? new Date(this.getDataValue("birthDate")) : undefined;
  }

Context

  • Express Version: “4.17.1” (via nestJS “7.0.9”)
  • Sequelize Version: “5.21.7”
  • Database Dialect: Postgres

Hello @erwan_swan,

Thanks for your feedback.
The issue you suggest is about Forest UI.
I was not able to reproduce what you describe.
When a field is a Date, Date is the default display widget. The “display settings” contains a format, it is applied on both list/detailed view.

Here is an example, the “invoice date” field with display format “DD/MM/YYYY”:

The list view
Screenshot 2020-10-02 at 14.57.48

The detailed view:
Screenshot 2020-10-02 at 14.57.58

Are you using the same team when you compare the list view/the detailed view? The layout configuration is team-specific.