Skip to content

For contributing developers, local tests need to be run with TZ=UTC #11246

Closed

Description

@douglascayers

What was unclear or otherwise insufficient?

I'm a first-time contributor to TypeORM, and when I tried npm run test for the first time then the test case issue-9230 failed due to date formatting.

Image

After some troubleshooting, I realized that using TZ=UTC allowed the test to pass.

Recommended Fix

Update the DEVELOPER.md instructions for running tests to let users know they may need to adjust the timezone used by the tests by setting a temporary environment variable.

Additional Context

No response

Are you willing to resolve this issue by submitting a Pull Request?

Yes, I have the time, and I know how to start.

Activity

  1. added a commit that references this issue on Mar 12, 2025
    ba47b62
  2. added a commit that references this issue on Dec 2, 2025
    4f4ee84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions