You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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
Bug Description
InvoicePreview.jsx- Issue new Date(invoice.issueDate) without timezone handling.
Fix Use
date-fnsordayjswith 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