Skip to content

fix: import dayjs in frontend helpers utility - #1480

Open
RabeelAhmed wants to merge 6 commits into
idurar:devfrom
RabeelAhmed:issues/1479-fix-missing-dayjs-import
Open

fix: import dayjs in frontend helpers utility#1480
RabeelAhmed wants to merge 6 commits into
idurar:devfrom
RabeelAhmed:issues/1479-fix-missing-dayjs-import

Conversation

@RabeelAhmed

Copy link
Copy Markdown

Summary

Adds the missing dayjs import to frontend/src/utils/helpers.js to resolve a runtime ReferenceError.


Problem #1479

The isDate() utility function in frontend/src/utils/helpers.js calls dayjs(date, format).isValid() on line 97 (now line 99 after fix), but dayjs was never imported in that file.

This causes the following runtime error whenever isDate() is invoked:

salahlalami and others added 6 commits March 16, 2026 18:09
Removed duplicate reporting process for vulnerabilities via Huntr.dev.
Updated the link for the self-hosted enterprise version in the README.
Updated the link for the self-hosted enterprise version of IDURAR.
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.

2 participants