felixge / felixge/node-dateformat

How to set time zone offset?

オープン
#97 コメント 3 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
1.3k
フォーク
155
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。