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

Voting: migrate date format to ISO-8601 #1165

Merged
merged 3 commits into from
Jun 16, 2020

Conversation

ECWireless
Copy link
Contributor

@ECWireless ECWireless commented Jun 13, 2020

Fixes issue #1161.

@ECWireless
Copy link
Contributor Author

@sohkai @bpierre I believe the only other date display in the Voting App is in the Votes.js component, but I think that involves updating DateRangePicker.js in aragon/ui (?)

@sohkai
Copy link
Contributor

sohkai commented Jun 15, 2020

I think that involves updating DateRangePicker.js in aragon/ui (?)

This is controllable via DateRangePicker's format prop.

We should most likely also update aragonUI's default in the future, but that would be a breaking change.


Could you also upload a screenshot of what the new version looks like :)?

@ECWireless
Copy link
Contributor Author

@sohkai Got it! Here are screenshots of all the changes:

From VotesDetail.js...

Passed Vote

From Votes.js (DateRangePicker)...

DateRangePicker

This date is displayed during a pending vote, but I'm unsure if it requires reformatting (?) ...

Pending Vote

Copy link
Contributor

@sohkai sohkai left a comment

Choose a reason for hiding this comment

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

❤️ All looks good for me! Thanks again @ECWireless!

This date is displayed during a pending vote, but I'm unsure if it requires reformatting

I think this one is OK, since it's in prose :).

@sohkai sohkai changed the title Voting: migrate date format to ISO -8601 Voting: migrate date format to ISO-8601 Jun 16, 2020
Copy link
Contributor

@bpierre bpierre left a comment

Choose a reason for hiding this comment

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

👍

@sohkai sohkai merged commit ca8b6de into aragon:master Jun 16, 2020
@ECWireless ECWireless deleted the voting-update-date-format branch June 16, 2020 15:41
ramilexe pushed a commit to ConsiderItDone/aragon-apps that referenced this pull request Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants