felixge / felixge/node-dateformat

How to set time zone offset?

Đang mở
#97 3 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
1.3k
Fork
155
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

ahhh, I know this is a naive question. but different date library has different rule, I usually use `yyyy-MM-dd'T'HH:mm:ss+08` in other date libraries, but it doesn't work for this library . I'm a little confused.

i use a logging library named pino, It uses this library, and time zone is UTC+0, and I want to change it.
So i try to find answer in your document, and I found the following Setting, it seems to be what i want, but I don't know how to use it.

~|~
---|---
o | GMT/UTC timezone offset, e.g. -0500 or +0230.

What should I do?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.