Skip to content

Commit 3334dcd

Browse files
committed
change CLI date format
1 parent 57c9d65 commit 3334dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/storage/blobs/blob-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The second operation demonstrates the use of the `az storage blob upload-batch`
7575
#!/bin/bash
7676
storageAccount="<storage-account>"
7777
containerName="demo-container"
78-
lastModified=`date -d "7 days ago" '+%Y-%m-%dT%H:%MZ'`
78+
lastModified=$(date +%Y:%m:%d -d "7 days ago")
7979
8080
path="C:\\temp\\"
8181
filename="demo-file.txt"

0 commit comments

Comments
 (0)