Skip to content

Commit

Permalink
Update datetime format
Browse files Browse the repository at this point in the history
  • Loading branch information
soimkim authored Sep 30, 2021
2 parents dd5ad2c + 6803dda commit 07a66f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
## Description
(Please describe what this PR do.)

<!--
Please describe what this PR do.
-->

## Type of change
<!--
Please insert 'x' one of the type of change.
-->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Documentation update
Expand Down
2 changes: 1 addition & 1 deletion src/fosslight_source/convert_scancode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/fosslight_source/run_scancode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 07a66f8

Please sign in to comment.