diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index cafa5a6..51bc0b3 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -38,7 +38,10 @@ jobs: needs: [check_black, check_pylint] strategy: matrix: - pfsense-version: ["pfSense-2.7.2-RELEASE", "pfSense-2.8.0-RELEASE"] + pfsense-version: + - "pfSense-2.7.2-RELEASE" + - "pfSense-2.8.0-RELEASE" + - "pfSense-2.8.1-RELEASE" steps: - uses: actions/checkout@v5 diff --git a/pfsense_vshell/__init__.py b/pfsense_vshell/__init__.py index ec6f289..62ecaa8 100644 --- a/pfsense_vshell/__init__.py +++ b/pfsense_vshell/__init__.py @@ -307,11 +307,8 @@ def __log__(self, event, msg): :param msg: (string) a descriptive message detailing the log event :return: (none) a new item will be appended to the log property of the object """ - self.log.append( - ",".join( - [str(datetime.datetime.utcnow()), self.url(), self.username, event, msg] - ) - ) + date = datetime.datetime.now().astimezone() + self.log.append(",".join([str(date), self.url(), self.username, event, msg])) class PFError(Exception):