Skip to content

Commit 07a66f8

Browse files
authored
Update datetime format
2 parents dd5ad2c + 6803dda commit 07a66f8

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
## Description
2-
(Please describe what this PR do.)
3-
2+
<!--
3+
Please describe what this PR do.
4+
-->
45

56
## Type of change
7+
<!--
68
Please insert 'x' one of the type of change.
9+
-->
710
- [ ] Bug fix (non-breaking change which fixes an issue)
811
- [ ] New feature (non-breaking change which adds functionality)
912
- [ ] Documentation update

src/fosslight_source/convert_scancode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def main():
104104

105105
argv = sys.argv[1:]
106106
path_to_find_json = ""
107-
start_time = datetime.now().strftime('%Y-%m-%d_%H-%M-%S')
107+
start_time = datetime.now().strftime('%Y%m%d_%H%M%S')
108108
output_file_name = ""
109109
print_matched_text = False
110110

src/fosslight_source/run_scancode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def run_scan(path_to_scan, output_file_name="",
6767
result_list = []
6868

6969
_windows = platform.system() == "Windows"
70-
start_time = datetime.now().strftime('%Y-%m-%d_%H-%M-%S')
70+
start_time = datetime.now().strftime('%Y%m%d_%H%M%S')
7171

7272
if output_file_name == "":
7373
output_file = "FOSSLight-Report_" + start_time

0 commit comments

Comments
 (0)