From 1507e6b857dcd0df8356442ed24fc35febcf1b3a Mon Sep 17 00:00:00 2001 From: Marco Cesarato Date: Sat, 13 Feb 2021 20:49:06 +0100 Subject: [PATCH] docs(config): add date format --- docs/config.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/config.md b/docs/config.md index 39ad11f..e46d1fd 100644 --- a/docs/config.md +++ b/docs/config.md @@ -30,6 +30,7 @@ dir or use the `--config` option to specify the location of your configuration f - **Pretty Scope:** Prettify the scope commit part (section name) on changelog *(ex. UserManager => User Manager or user_config => User config)* - **Url Protocol:** The URL protocol of all repository urls on changelogs (http/https) +- **Date Format:** The [format](https://www.php.net/manual/en/datetime.format.php) of the outputted date string - **Commit Url Format:** A URL representing a specific commit at a hash - **Compare Url Format:** A URL representing the comparison between two git sha - **Issue Url Format:** A URL representing the issue format (allowing a different URL format to be swapped in for @@ -82,6 +83,7 @@ return [ 'hiddenReferences' => false, 'prettyScope' => true, 'urlProtocol' => 'https', + 'dateFormat' => 'Y-m-d', 'commitUrlFormat' => '{{host}}/{{owner}}/{{repository}}/commit/{{hash}}', 'compareUrlFormat' => '{{host}}/{{owner}}/{{repository}}/compare/{{previousTag}}...{{currentTag}}', 'issueUrlFormat' => '{{host}}/{{owner}}/{{repository}}/issues/{{id}}',