Skip to content

feat: add publishDate for weekly newsletters#804

Merged
IiroP merged 1 commit intomainfrom
add-publishdate-weeklynewsletter
Mar 3, 2026
Merged

feat: add publishDate for weekly newsletters#804
IiroP merged 1 commit intomainfrom
add-publishdate-weeklynewsletter

Conversation

@IiroP
Copy link
Contributor

@IiroP IiroP commented Mar 3, 2026

  • Value can be edited manually and if left empty, date when newsletter is first published is used
  • For backwards compatibility, createdAt value is used when publishDate is not available

Fixes #782

Before submitting the PR, please make sure you do the following

  • If your PR is related to a previously discussed issue, please link to it here.
  • Prefix your PR title with feat:, fix:, chore:, or docs:.
  • This message body should clearly illustrate what problems it solves.
  • Make sure the commit history is linear, up-to-date with main branch and does not contain any erroneous changes

Formatting and linting

  • Format code with pnpm format and lint the project with pnpm lint

- Value can be edited manually and if left empty, date when newsletter is first published is used
- For backwards compatibility, createdAt value is used when publishDate is not available
Copy link
Contributor

@jooakar jooakar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great

@IiroP IiroP merged commit 0ce22a9 into main Mar 3, 2026
4 checks passed
@IiroP IiroP deleted the add-publishdate-weeklynewsletter branch March 3, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

newsletter: show publish date instead of creation date in header

2 participants