Skip to content

Banner improvements #143

@ericahan22

Description

@ericahan22
Uncaught RangeError: Invalid time value
    at FR (index-BUmWmwvw.js:322:19336)
    at C8 (index-BUmWmwvw.js:322:30905)
    at U7 (index-BUmWmwvw.js:322:31068)
    at s3e (index-BUmWmwvw.js:380:128685)
    at nl (index-BUmWmwvw.js:48:48292)
    at wl (index-BUmWmwvw.js:48:71158)
    at Uy (index-BUmWmwvw.js:48:68559)
    at Iy (index-BUmWmwvw.js:48:68107)
    at Yy (index-BUmWmwvw.js:48:83964)
    at Eb (index-BUmWmwvw.js:48:117415)

happens when the date isn't properly formatted in the banner.

Possible solution: add banner management tool on admin side where you can enter a date from a date picker to prevent typos.

This solution would also mean that we wouldn't have to make code changes when updating the banner.

Also {formatEventDate("2026-01-26")} shows up as Sunday, Jan 25.

And the old code didn't throw an error on my phone for some odd reason

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions