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

(govern): change formatting to local time #118

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

Tanya-atatakai
Copy link
Collaborator

Proposed changes

Change time formatting from UTC to local (the updated function is also used on donate and veOLAS pages)

image

Fixes

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Copy link

vercel bot commented Oct 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
govern ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2024 7:26am
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
bond ⬜️ Ignored (Inspect) Visit Preview Oct 18, 2024 7:26am
launch ⬜️ Ignored (Inspect) Visit Preview Oct 18, 2024 7:26am
operate ⬜️ Ignored (Inspect) Visit Preview Oct 18, 2024 7:26am
registry ⬜️ Ignored (Inspect) Visit Preview Oct 18, 2024 7:26am

@@ -62,7 +62,7 @@ export const VotingPercentComponent = ({
isLoading={isLoading}
title="% of total voting power"
value={
Number(votingPower) === 0 || Number(totalSupply) === 0
votingPower === undefined || Number(votingPower) === 0 || Number(totalSupply) === 0
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

just noticed we display null% for users with no veOLAS, quickly fixed

@Tanya-atatakai
Copy link
Collaborator Author

Gitleaks is fixed here #117

@DavidMinarsch DavidMinarsch merged commit 8b5bbee into main Oct 18, 2024
7 of 8 checks passed
@DavidMinarsch DavidMinarsch deleted the tanya/proposals-local-time branch October 18, 2024 08:01
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.

3 participants