diff options
-rw-r--r-- | tools/build_defs/repo/git.bzl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build_defs/repo/git.bzl b/tools/build_defs/repo/git.bzl index 5280aee4a8..510e2a134c 100644 --- a/tools/build_defs/repo/git.bzl +++ b/tools/build_defs/repo/git.bzl @@ -95,7 +95,7 @@ set -ex shallow_date = ctx.execute([ bash_exe, "-c", - "(cd '{directory}' && git log -n 1 --pretty='format:%cd' --date='format:%Y-%d-%m')".format( + "(cd '{directory}' && git log -n 1 --pretty='format:%cd' --date='format:%Y-%m-%d')".format( directory = ctx.path("."), ), ]).stdout |