Skip to content

Commit bd9923f

Browse files
committed
Fix date part of filename
1 parent efa3357 commit bd9923f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flux/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ async def _new(ctx: typer.Context, name: str, kind: MigrationKind):
108108

109109
os.makedirs(config.migration_directory, exist_ok=True)
110110

111-
date_part = dt.date.today().strftime("%Y%d%m")
111+
date_part = dt.date.today().strftime("%Y%m%d")
112112
migration_index = 1
113113

114114
name_part = "-".join(name.lower().split())

0 commit comments

Comments
 (0)