diff --git a/docs/parsers/date.md b/docs/parsers/date.md index 094932e0..cc9c999c 100644 --- a/docs/parsers/date.md +++ b/docs/parsers/date.md @@ -3,6 +3,7 @@ jc - JSON CLI output utility `date` command output parser The `epoch` calculated timestamp field is naive (i.e. based on the local time of the system the parser is run on) + The `epoch_utc` calculated timestamp field is timezone-aware and is only available if the timezone field is UTC. Usage (cli): diff --git a/jc/parsers/date.py b/jc/parsers/date.py index 7e536802..3606e7d3 100644 --- a/jc/parsers/date.py +++ b/jc/parsers/date.py @@ -1,6 +1,7 @@ """jc - JSON CLI output utility `date` command output parser The `epoch` calculated timestamp field is naive (i.e. based on the local time of the system the parser is run on) + The `epoch_utc` calculated timestamp field is timezone-aware and is only available if the timezone field is UTC. Usage (cli):