mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-23 07:17:00 +08:00
Use ISO dating "%Y-%m-%d"
This commit is contained in:
parent
1f3d60f8b4
commit
010a22513a
@ -242,7 +242,7 @@ def get_save_image_path(filename_prefix, output_dir, image_width=0, image_height
|
|||||||
input = input.replace("%height%", str(image_height))
|
input = input.replace("%height%", str(image_height))
|
||||||
return input
|
return input
|
||||||
|
|
||||||
current_date = time.strftime("%m-%d-%Y")
|
current_date = time.strftime("%Y-%m-%d")
|
||||||
filename_prefix = compute_vars(filename_prefix, image_width, image_height)
|
filename_prefix = compute_vars(filename_prefix, image_width, image_height)
|
||||||
|
|
||||||
subfolder = current_date
|
subfolder = current_date
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user