Skip to content

fix: resolve merge conflicts in helpers.ts causing timezone display bugs - #78

Merged
Muyideen-js merged 3 commits into
SPaulse-Org:mainfrom
jearthliu:fix/cleanup-helpers-merge-conflicts
Jul 30, 2026
Merged

fix: resolve merge conflicts in helpers.ts causing timezone display bugs#78
Muyideen-js merged 3 commits into
SPaulse-Org:mainfrom
jearthliu:fix/cleanup-helpers-merge-conflicts

Conversation

@jearthliu

Copy link
Copy Markdown
Contributor

Found the root cause of the inconsistent timezone display issues — helpers.ts had severe merge conflict leftovers. The file had 4 duplicate definitions of formatDate, 4 of formatTime, and 2 of timeAgo, plus the explorerUrl function had timeAgo logic mixed into it.

This cleans it up: +34 / -216 lines, one correct version of each function, all using Intl.DateTimeFormat with the viewers locale and timezone. Also fixed the markets page which had 5 duplicate import lines from the same merge conflicts.

Closes #70 & #73 — they are the same underlying bug.

jearthliu and others added 3 commits July 27, 2026 10:18
Remove duplicate formatDate/formatTime/timeAgo definitions.
All timestamp functions now consistently use Intl.DateTimeFormat
with viewer locale+timezone. Fix explorerUrl merge corruption.
Clean up markets page duplicate imports.

Closes SPaulse-Org#70, SPaulse-Org#73
@Muyideen-js
Muyideen-js merged commit 369b8e9 into SPaulse-Org:main Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[wave] Fix inconsistent timezone display in leaderboard

2 participants