-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0eb64e
commit a158223
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
# timeconverter | ||
convert timestamps to local time or specified timezone | ||
|
||
## usage | ||
``` | ||
timeconverter [options] <command> | ||
Options | ||
-format string | ||
format to use (default "Mon 2006 Jan 02 03:04pm MST") | ||
-location string | ||
tzdata location to convert to (default "Local") | ||
-version | ||
print version number and exit | ||
Commands | ||
help -> show this help | ||
version -> print version number and exit | ||
<value> -> string with timestamps in it | ||
- -> pipe input with timestamps from stdin | ||
``` |