From 72602a344330b50cd746ca8d8b96eafd76fbf473 Mon Sep 17 00:00:00 2001 From: zvecr Date: Fri, 18 Mar 2022 01:53:39 +0000 Subject: [PATCH] Fixup after merge --- lib/python/qmk/commands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/python/qmk/commands.py b/lib/python/qmk/commands.py index eec347d260..5def790644 100644 --- a/lib/python/qmk/commands.py +++ b/lib/python/qmk/commands.py @@ -4,6 +4,8 @@ import os import sys import shutil from pathlib import Path +from time import strftime +from itertools import islice from subprocess import DEVNULL from milc import cli @@ -96,7 +98,7 @@ def get_git_version(current_time=None, repo_dir='.', check_dir='.'): git_describe_cmd = ['git', 'describe', '--abbrev=6', '--dirty', '--always', '--tags'] if current_time is None: - current_time = strftime(time_fmt) + current_time = strftime('%Y-%m-%d-%H:%M:%S') if repo_dir != '.': repo_dir = Path('lib') / repo_dir