From 024eb4d48d7d39706549dc7d7971a582dd44e9dd Mon Sep 17 00:00:00 2001 From: Soim Kim Date: Thu, 30 Sep 2021 08:49:15 +0900 Subject: [PATCH 1/2] Update datetime format --- src/fosslight_source/convert_scancode.py | 2 +- src/fosslight_source/run_scancode.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fosslight_source/convert_scancode.py b/src/fosslight_source/convert_scancode.py index 03cc242..da45380 100755 --- a/src/fosslight_source/convert_scancode.py +++ b/src/fosslight_source/convert_scancode.py @@ -104,7 +104,7 @@ def main(): argv = sys.argv[1:] path_to_find_json = "" - start_time = datetime.now().strftime('%Y-%m-%d_%H-%M-%S') + start_time = datetime.now().strftime('%Y%m%d_%H%M%S') output_file_name = "" print_matched_text = False diff --git a/src/fosslight_source/run_scancode.py b/src/fosslight_source/run_scancode.py index 2124367..cf7361c 100755 --- a/src/fosslight_source/run_scancode.py +++ b/src/fosslight_source/run_scancode.py @@ -67,7 +67,7 @@ def run_scan(path_to_scan, output_file_name="", result_list = [] _windows = platform.system() == "Windows" - start_time = datetime.now().strftime('%Y-%m-%d_%H-%M-%S') + start_time = datetime.now().strftime('%Y%m%d_%H%M%S') if output_file_name == "": output_file = "FOSSLight-Report_" + start_time From 6803dda828df61fa12e3b337982db38e1149ae55 Mon Sep 17 00:00:00 2001 From: Soim Kim Date: Thu, 30 Sep 2021 08:52:03 +0900 Subject: [PATCH 2/2] Update PR template --- .github/PULL_REQUEST_TEMPLATE.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 77f94b5..10ddc32 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,9 +1,12 @@ ## Description -(Please describe what this PR do.) - + ## Type of change + - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Documentation update