Skip to content

Commit

Permalink
Actually use the formatted version
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Jan 28, 2022
1 parent 952bab0 commit c1199dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1676,7 +1676,7 @@ async function main() {

// Can probably use date formatting to do this, but this works fine
const mergedAtFormatted = merged_at.replace('T', ' ').replace('Z', ' UTC');
const logLine = `**${merged_at}:** [${title}](${html_url})`;
const logLine = `**${mergedAtFormatted}:** [${title}](${html_url})`;

const contents = await readFileAsync(CHANGELOG_PATH);

Expand Down
2 changes: 1 addition & 1 deletion index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function main() {

// Can probably use date formatting to do this, but this works fine
const mergedAtFormatted = merged_at.replace('T', ' ').replace('Z', ' UTC');
const logLine = `**${merged_at}:** [${title}](${html_url})`;
const logLine = `**${mergedAtFormatted}:** [${title}](${html_url})`;

const contents = await readFileAsync(CHANGELOG_PATH);

Expand Down

0 comments on commit c1199dc

Please sign in to comment.