Skip to content

Commit 3230229

Browse files
authored
Format timestamp in export model filename (#35)
Signed-off-by: adamwhite629 <102849144+adamwhite629@users.noreply.github.com>
1 parent 9646157 commit 3230229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zepben/examples/export_open_dss_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@ def open_dss_export(export_file_name: str):
144144

145145

146146
if __name__ == "__main__":
147-
open_dss_export(f"test_export_model_{datetime.now()}")
147+
open_dss_export(f"test_export_model_{datetime.now().strftime('%Y%m%d_%H%M%S')}")

0 commit comments

Comments
 (0)