From 5fed4698c2c1f1b7e05c5b4c51639f818e049b53 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Wed, 24 Mar 2021 21:57:04 -0700 Subject: [PATCH] update docs and version number --- docs/parsers/last.md | 4 ++-- jc/parsers/last.py | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/parsers/last.md b/docs/parsers/last.md index efd8811c..a0004d5c 100644 --- a/docs/parsers/last.md +++ b/docs/parsers/last.md @@ -118,8 +118,8 @@ Returns: "login": string, "logout": string, "duration": string, - "login_epoch": integer, # available with last -F option - "logout_epoch": integer, # available with last -F option + "login_epoch": integer, # (naive) available with last -F option + "logout_epoch": integer, # (naive) available with last -F option "duration_seconds": integer # available with last -F option } ] diff --git a/jc/parsers/last.py b/jc/parsers/last.py index 099633d1..6fdaaaac 100644 --- a/jc/parsers/last.py +++ b/jc/parsers/last.py @@ -87,12 +87,11 @@ Examples: """ import re -from datetime import datetime import jc.utils class info(): - version = '1.4' + version = '1.5' description = 'last and lastb command parser' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' @@ -126,8 +125,8 @@ def process(proc_data): "login": string, "logout": string, "duration": string, - "login_epoch": integer, # available with last -F option - "logout_epoch": integer, # available with last -F option + "login_epoch": integer, # (naive) available with last -F option + "logout_epoch": integer, # (naive) available with last -F option "duration_seconds": integer # available with last -F option } ]