matcha
matcha copied to clipboard
BUG: Time.After comparison instead of Equal in sorting
Describe the bug Contact sorting at config/cache.go:144 uses After() for comparison but doesn't handle equal times correctly across timezones.
To reproduce
- Create contacts with LastUsed at same instant, different timezones
- Sort contacts
- Inconsistent ordering
Expected behavior Use Equal() for equivalence check, After() only for strict ordering
Matcha version master
OS All
Additional context File: config/cache.go line 144 Timezone-dependent sorting bug
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.