From ab42e6bb15026d6c46e15197c62bc3e8ef95c80d Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Tue, 23 Mar 2021 14:10:42 -0700 Subject: [PATCH] formatting --- docs/parsers/date.md | 1 + jc/parsers/date.py | 1 + 2 files changed, 2 insertions(+) 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):