Skip to content

date-page-a-day-calendar displays day before in central time zone #787

@jaxkookie

Description

@jaxkookie

I have used the date-page-a-day-calendar for some time and have not seen any issues. I had a user advise me that the date was displaying the day before, but I could not replicate this. When I remove the script date is correct in both time zones. On a whim I changed my timezone from Eastern to the users in Central. When I applied the script I was able to replicate the bug. The date reflects the day before. I do not see anything that stands out. The only places I found a "-1" in the code it was related to styling.
Can anyone replicate this, or see a way to fix it?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 BugIssue with one of the samples

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions