diff --git a/git-flow b/git-flow index ccb314e..73d0ebc 100755 --- a/git-flow +++ b/git-flow @@ -482,14 +482,23 @@ def update_changelog(branch: str, target: str): def generate_changelog_entry(branch: str, target: str): name = Git("config", "user.name").firstline() email = Git("config", "user.email").firstline() - timestamp = datetime.datetime.now().strftime("%A, %e de %B de %Y, %T").title() + + now = datetime.datetime.now() + weekday = now.strftime("%A").capitalize() + month = now.strftime("%B").capitalize() + timestamp = now.strftime(f"{weekday}, %e de {month} de %Y, %H:%M") entry_lines = [ f"## {timestamp}", "", + "### Autor", + "", f"- Usuario: **{name}**", f"- Email: **{email}**", - f"- Rama: **{branch}**", + "", + "### Commits", + "", + f"Rama: **{branch}**", "" ]