Skip to content

I can't set a default timezone on windows. #4230

Closed
@Claud

Description

@Claud

This code works well on Linux but does not work on windows.

process.env.TZ = 'UTC';
console.log(new Date());

On windows i see timezone from my os.

Thu Dec 10 2015 14:28:45 GMT+0300

Metadata

Metadata

Assignees

No one assigned

    Labels

    i18n-apiIssues and PRs related to the i18n implementation.questionIssues that look for answers.v8 engineIssues and PRs related to the V8 dependency.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions