From 16efbc99c0dc84b5e9cc943af3c520d068b5ef37 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Fri, 26 Nov 2021 15:21:29 +0100 Subject: [PATCH] changelog: use date format of YYYY-MM-DD If we use date format of DD-MM-YYYY in changelog file names, the files will not sorted by date. e.g. 01-12-2021 will come before 25-11-2021. Use date format of YYYY-MM-DD to make the files sorted by date. --- changelog/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog/README.md b/changelog/README.md index 96eaa03d74..11498d2f23 100644 --- a/changelog/README.md +++ b/changelog/README.md @@ -8,8 +8,8 @@ into the repository. The changes are essentially divided into 4 categories: ## How to add the file Based on the category the PR falls into create a new file in the respective -directory with the filename format `DD-MM-YYYY-.md` -(can be generated via: `$(date '+%d-%m-%Y')-.md`) +directory with the filename format `YYYY-MM-DD-.md` +(can be generated via: `$(date '+%Y-%m-%d')-.md`) The contents of the file should describe the changes in an elaborative manner (use the past tense for the change/bugfix description to avoid confusion with