Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swipe receipts are displayed in the wrong time zone #295

Closed
marfavi opened this issue Nov 7, 2024 · 1 comment · Fixed by #296
Closed

Swipe receipts are displayed in the wrong time zone #295

marfavi opened this issue Nov 7, 2024 · 1 comment · Fixed by #296
Labels
bug Verified bug

Comments

@marfavi
Copy link
Member

marfavi commented Nov 7, 2024

Describe the bug
Receipts show as swiped an hour earlier than they actually were when viewed in the receipts page.

To Reproduce
Steps to reproduce the behavior:

  1. Swipe a ticket and notice the current time
  2. Go to the receipts tab
  3. View the swipe time on the latest receipt

Expected behavior
Swipe time should be equal to current time

Device (please complete the following information):

  • Device: iPhone
  • OS: not available
  • App Version: 3.9.1

Additional context
Add any other context about the problem here.

@marfavi marfavi added the bug Verified bug label Nov 7, 2024
@marfavi
Copy link
Member Author

marfavi commented Nov 12, 2024

Backend bug

@marfavi marfavi transferred this issue from AnalogIO/coffeecard_app Nov 12, 2024
duckth added a commit that referenced this issue Nov 17, 2024
Fixes #295 

Turns out that the default string formatting of DateTime objects doesn't
conform to ISO8601, so even when the object is saved as UTC; the app
does not recognize it as UTC.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant