diff options
| author | jdhao <jdhao@hotmail.com> | 2020-04-17 18:06:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-17 18:06:48 +0800 |
| commit | 70f02ae20f53dfca5730a7a01dacf45f4b168a1d (patch) | |
| tree | 75813b2e03a829bfe19860aaf9c15186b5821d39 /variables.vim | |
| parent | ec6349fb3fc0b5d9e482f98e2e17e874de5929a7 (diff) | |
fix: time zone info is now shown
datetime.now() produces a naive datetime object which does not know tzinfo.
So the '%z' has no effect. We need to convert it to time zone aware object using
`datetime.astimezone()`.
Diffstat (limited to 'variables.vim')
0 files changed, 0 insertions, 0 deletions
