Skip to content

Incorrect timezone  #28743

@santsys

Description

@santsys

I'm seeing variation in timezone inside of node. OS is reporting GMT-0700 (PDT), node is reporting GMT-0900 (Pacific Standard Time).

Node Version: v10.14.2
Platform: Linux (node running inside of docker container)

> date Wed Jul 17 16:51:08 PDT 2019 > date +"%Z %z" PDT -0700 > node >(new Date()).toString(); 'Wed Jul 17 2019 14:51:36 GMT-0900 (Pacific Standard Time)' 

Node appears to be seeing PST as -0900 and not -0700. I figure I'm missing something, but I don't know what.

Any ideas would be appreciated! Thank you.

Metadata

Metadata

Assignees

Labels

i18n-apiIssues and PRs related to the i18n implementation.v8 engineIssues and PRs related to the V8 dependency.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions