Skip to content

Commit

Permalink
daily:update for issue creation
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-welsh committed Nov 12, 2023
1 parent 6864bcb commit 961eb6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/jira-action/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/jira-action/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/helpers/content-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function readFileContentSync(path: string): string {
export function transformContent(content: string): string {
return content
.replace(PATTERN_DATE, new Date().toDateString())
.replace(PATTERN_DATETIME, String(new Date()))
.replace(PATTERN_DATETIME, new Date().toString())
.replace(PATTERN_REPOSITORY, `[${github.context.repo.owner}/${github.context.repo.repo}](${github.context.payload.repository?.html_url})`)
.replace(PATTERN_REPOSITORY_NAME, `${github.context.repo.repo}`)
.replace(PATTERN_REPOSITORY_OWNER, `${github.context.repo.owner}`)
Expand Down

0 comments on commit 961eb6d

Please sign in to comment.