You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm willing to help fix the problem and contribute a pull request
Describe the bug
The database stores absolute time in the GMT timezone, specifically in the file cmd/new.go:L45.
The list command outputs relative time, also using the GMT timezone, as implemented in helpers/date.go:L56.
Because of the difference between GMT and the local timezone, the relative time output by list is inaccurate.
What is the purpose of the alias and group settings?
They're just generating random alphanumeric filenames right? I copied them to my config, but get an error for every run as it cycles through the generated file name in /tmp/.zk:
zk: error: new note: foo/m: directory not found
In any case I tried a fresh project and made a note. It reports time as 'just now'.
Check if applicable
Describe the bug
The database stores absolute time in the GMT timezone, specifically in the file
cmd/new.go:L45
.The
list
command outputs relative time, also using the GMT timezone, as implemented inhelpers/date.go:L56
.Because of the difference between GMT and the local timezone, the relative time output by
list
is inaccurate.Even changing
elapsed.Time
toelapsed.LocalTime
does not seem to resolve the issue.https://github.com/rvflash/elapsed/tree/v0.2.0
How to reproduce?
zk configuration
Environment
The text was updated successfully, but these errors were encountered: