Open powersagitar opened 6 months ago
@powersagitar , Hi, I hope you are doing well. I would like to fix this bug for you.
Can you elaborate on the issue, specifically regarding how the published date is processed and displayed? Also, could you please provide steps on how to reproduce this bug?
Understanding the underlying cause and reproduction steps will help me propose an effective solution. Thank you!
Hi @araza95, thank you for your interest.
Published
field of one of the posts to February 1, 2024
main
branch of this reporootNotionPageId
in site.config.ts accordinglyyarn
to install dependencies, yarn dev
to start a development serverPublished
field to any date that is not the first day of a monthPublished
field to February 1, 2024
in step 2, but on the homepage it appears to be Jan 1, 2024
, which is one month earlier.Published
is set to January 1, 2024
, the publish date on the website homepage becomes Dec 1, 2024
Please let me know if more clarification is required. :)
Please refer to https://github.com/transitive-bullshit/nextjs-notion-starter-kit/issues/604#issuecomment-2056833537 for the bug per se and steps to reproduce.
The issue is present in this revision: https://github.com/transitive-bullshit/nextjs-notion-starter-kit/tree/0e40674e88f8429fbb136d032ae77be17f1bda9c (the
main
branch at the time of writing)