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

fix: fallback to utc if we can't guess timezone #1173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

im-adithya
Copy link
Member

@im-adithya im-adithya requested a review from rolznz March 12, 2025 07:34
@@ -212,7 +212,11 @@ function TransactionItem({ tx }: Props) {
<p>Date & Time</p>
<p className="text-muted-foreground">
{dayjs(tx.updatedAt)
.tz(dayjs.tz.guess())
.tz(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this really the only place there is an issue despite using dayjs everywhere?

To me this feels like a hack. What about using local? https://day.js.org/docs/en/manipulate/local

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.

the wallet view page panics because of timezone
2 participants