From 17579c3e8b1fd58b87245738638e45146ea79413 Mon Sep 17 00:00:00 2001 From: Andreas Strandfelt Date: Wed, 7 Aug 2024 12:20:02 +0200 Subject: [PATCH] Use minutes in default bicep deployment name Fixes https://github.com/Azure/bicep/issues/14763 --- src/vscode-bicep/src/commands/deploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vscode-bicep/src/commands/deploy.ts b/src/vscode-bicep/src/commands/deploy.ts index ecacc951c38..d8527439ae9 100644 --- a/src/vscode-bicep/src/commands/deploy.ts +++ b/src/vscode-bicep/src/commands/deploy.ts @@ -108,7 +108,7 @@ export class DeployCommand implements Command { const fileName = path.basename(documentPath, ".bicep"); const options = { title: `Please enter name for deployment`, - value: fileName.concat("-", moment.utc().format("YYMMDD-HHMM")), + value: fileName.concat("-", moment.utc().format("YYMMDD-HHmm")), }; let deploymentName = await context.ui.showInputBox(options); // Replace special characters with '_'