LCFS - Credit Ledger Displays Incorrect Time Zone for Transfer Transactions
- Dominant language
- Python
- Stars
- 6
- Forks
- 6
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 87
Description
**Describe the Bug**
Credit transfer transactions are displaying the incorrect time in the Organization Credit Ledger. Transfers #5517 and #5514 were recorded at approximately 11:00 AM PST, however the transaction entries shown in the credit ledger for both the buyer and seller organizations display a time of 6:00 PM PDT.
A recent fix was implemented to address date display issues in the credit ledger, but it appears the time component is still being converted or displayed incorrectly.
**Expected Behaviour**
- Transfer transactions should display the transaction time in PST.
- Transfers #5517 and #5514 should display as approximately 11:00 AM PST.
- Date and time values should be presented consistently across all credit ledger views.
- Buyer and seller organizations should see the same correct timestamp.
**Actual Behaviour**
- Transfers #5517 and #5514 appear as 6:00 PM PDT in the Organization Credit Ledger.
- The incorrect time is displayed in both the buyer and seller organization views.
**Implications**
- Creates confusion regarding when credit transfers actually occurred.
- Reduces confidence in the accuracy and auditability of ledger records.
- May result in users questioning whether the transaction was processed at the correct time.
**Steps to Reproduce**
1. Navigate to the Organization Credit Ledger for either organization involved in transfer #5517 or #5514.
2. Locate the transfer transaction entry.
3. Review the displayed transaction timestamp.
4. Compare the displayed time with the recorded transfer time.
**Acceptance Criteria**
- [ ] Credit transfer timestamps are displayed in PST.
- [ ] Transfers #5517 and #5514 display the correct transaction time.
- [ ] Date display functionality from the recent fix remains unchanged.
- [ ] Buyer and seller ledger views display identical and correct timestamps.
- [ ] Time zone handling is validated across all credit ledger transaction types.
**Additional Context**
- A recent fix corrected date display issues in the credit ledger (#4600 )
- This issue appears related only to the time component and may be caused by timezone conversion or formatting logic.
- Business expectation is that ledger transaction timestamps continue to display in PST.
Contributor guide
Assessment
This issue has not been assessed yet.