Skip to content

Commit 024eb4d

Browse files
committed
Update datetime format
1 parent 09cb58f commit 024eb4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)