Skip to content

[BUG]: Dates in financial documents should be absolute or explicitly timezoned. #121

@aniket866

Description

@aniket866

Bug Description

  • Where? InvoicePreview.jsx

- Issue new Date(invoice.issueDate) without timezone handling.

  • Fix Use date-fns or dayjs with UTC.

  • Why? An invoice issued on "Feb 20" in India might show as "Feb 19" in New York. Dates in financial documents should be absolute or explicitly timezoned.

Steps to Reproduce

N/A

Logs and Screenshots

N/A

Environment Details

N/A

Impact

Critical - Application is unusable

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions