hishtory/client/cmd
David Dworken 2ccbb8d587
Store timestamps in DB in Unix time, and display them in the Local time for consistent TZs in displays, and to ensure ordering is correct
This fixes a bug where entries could be out of order if they were recorded on machines in different TZs (e.g. if one machine had the TZ set to UTC). Admittedly, this commit isn't a perfect fix since
it doesn't change all the existing hishtory entries to be stored in UTC, but this just means that the ordering bug will continue to exist for historical entries, but be fixed for new entries. And
for our purposes, that is good enough. :)

 # Please enter the commit message for your changes. Lines starting
2023-09-09 12:28:01 -07:00
..
configAdd.go Swap ioutil to non-deprecated alternatives + clean up pre-commit errors 2022-11-27 11:59:06 -08:00
configDelete.go Swap ioutil to non-deprecated alternatives + clean up pre-commit errors 2022-11-27 11:59:06 -08:00
configGet.go Implement pre-saving feature to ensure that long-running/non-terminating commands are saved in hishtory 2023-08-27 14:24:59 -07:00
configSet.go Implement pre-saving feature to ensure that long-running/non-terminating commands are saved in hishtory 2023-08-27 14:24:59 -07:00
enableDisable.go no context pointers 2023-09-05 15:45:17 -04:00
import.go Better organize the cobra generated help page 2022-11-16 08:03:23 -08:00
install.go Merge pull request #102 from lsmoura/sergio/no-ctx-ptr 2023-09-06 19:58:08 -07:00
query.go no context pointers 2023-09-05 15:45:17 -04:00
redact.go Merge pull request #102 from lsmoura/sergio/no-ctx-ptr 2023-09-06 19:58:08 -07:00
reupload.go Better organize the cobra generated help page 2022-11-16 08:03:23 -08:00
root.go Some test fixes for the cobra integration 2022-11-16 08:03:23 -08:00
saveHistoryEntry_test.go no-op refactoring: Move history entry building code from lib.go to cmd file for saving history entries 2023-08-27 22:05:24 -07:00
saveHistoryEntry.go Store timestamps in DB in Unix time, and display them in the Local time for consistent TZs in displays, and to ensure ordering is correct 2023-09-09 12:28:01 -07:00
status.go Add additional information about sync status to hishtory status -v for debugging purposes 2023-09-07 18:10:17 -07:00
update.go More refactoring to use cobra 2022-11-16 08:03:23 -08:00