Closed miguelramos closed 2 months ago
Hello again @miguelramos!
Perhaps this field could be user customizable? I can see benefits in allowing, for example, both the rfc2822
and the iso8601
format (or whichever else git
supports). Maybe via a --commitDateFormat
flag?
@miguelramos checkout this proposed PR, which adds the customizable date format support when parsing the git commits: https://github.com/benduran/lets-version/pull/24
Approved. Many thanks.
Thank you! @better-builds/lets-version@1.1.0
has been published, and the PR has been closed. Give it a shot and feel free to reach back out if you have any future feedback 🫡
Hey @benduran in here: git file you could add the format to the date as git log support for better parsing:
https://git-scm.com/docs/git-log#Documentation/git-log.txt---dateltformatgt
Normally i use --date=rfc2822. What do you think?