From f94f7e89f4c720149255a8f258470bf6bd626b34 Mon Sep 17 00:00:00 2001 From: Micah Wood Date: Wed, 25 Sep 2024 21:10:42 -0400 Subject: [PATCH] Update create-milestones.yml Fix date to remove leading zero --- .github/workflows/create-milestones.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-milestones.yml b/.github/workflows/create-milestones.yml index 8130900d0..4bfff7f25 100644 --- a/.github/workflows/create-milestones.yml +++ b/.github/workflows/create-milestones.yml @@ -40,7 +40,7 @@ jobs: fi # Set the date format for the milestone title and due date - DATE=$(date -u -d "$DUE_DATE" '+%B %d, %Y') # Human-readable date + DATE=$(date -u -d "$DUE_DATE" '+%B %-d, %Y') # Human-readable date DATE_ISO8601=$(date -u -d "$DUE_DATE" '+%Y-%m-%dT23:59:59Z') # ISO8601 format # Prepare the description for the milestone