Skip to content

A tiny convenience tool to convert time formats.

Notifications You must be signed in to change notification settings

lukasbindreiter/reformat-time

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reformat-time

A tiny convenience tool to convert time formats.

Example:
    reformat-time -u -- "$(date)"

Flags:
   --version       Displays the program version string.
-h --help          Displays help with available flag, subcommand, and positional value parameters.
   --rfc3339-utc   Format time as RFC 3339 UTC (default)
-r --rfc3339       Format time as RFC 3339
-u --unix          Format time as unix time
-m --unix-milli    Format time as unix milli
-f --unix-float    Format time as unix float

reformat-time currently parses:

  • RFC3339Nano
  • UnixDate
  • Unix timestamp
  • Unix millisecond timestamp
  • Unix float timestamp

About

A tiny convenience tool to convert time formats.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%