Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: timezone issue with ISO dates #1614

Draft
wants to merge 1 commit into
base: v4
Choose a base branch
from

Commits on Nov 24, 2024

  1. fix: timezone issue with ISO dates

    If the date is in YYYY-MM-DD format, which is the default for the Obsidian 'date' file property, it
    will be interpreted as UTC midnight which will mean it renders incorrectly as the previous day when
    passed to 'getLocaleDateString'. Adding a time makes it interpret as midnight in the local timezone
    instead so it will render as expected.
    linusrachlis committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    c78f77b View commit details
    Browse the repository at this point in the history