Skip to content

Inconsistent date formats for environments #2992

@onurguzel

Description

@onurguzel

To Reproduce

  1. Install a Dokploy version older than v0.25.0
  2. Create a project and an application.
  3. Upgrade Dokploy to a newer version.
  4. Create a new environment for the existing project.
  5. Create an application in the new environment.
  6. Make an API call to retrieve projects.

Current vs. Expected behavior

Currently, you will notice that the date format of createdAt field in default "production" environment is different than other environments. One is PostgreSQL timestamp format and the other one ise ISO 8601.

Expected behaviour: All date time fields returns using ISO 8601 format.

Provide environment information

Dokploy version: v0.25.6

Which area(s) are affected? (Select all that apply)

Application

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

Maybe, need help

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions