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

Use 24 hr format for displaying time #1720

Closed
fedekunze opened this issue Dec 7, 2018 · 9 comments · Fixed by #1800
Closed

Use 24 hr format for displaying time #1720

fedekunze opened this issue Dec 7, 2018 · 9 comments · Fixed by #1800
Labels
ux-improvement issues that would improve the user experience

Comments

@fedekunze
Copy link
Contributor

Description:

Based on feedback from @cwgoes

@faboweb faboweb added the ux-improvement issues that would improve the user experience label Dec 10, 2018
@jbibla
Copy link
Collaborator

jbibla commented Dec 10, 2018

what is the thinking here @cwgoes @zramsay? something beyond preference?

@cwgoes
Copy link

cwgoes commented Dec 10, 2018

I think 24-hour time is unambiguous and ought to be the preferred world format - it's definitely popular among our initial likely userbase.

However, as my preference may not be universally shared - it doesn't necessarily need to be the default - a configuration option would be nice.

@jbibla
Copy link
Collaborator

jbibla commented Dec 10, 2018

a configuration option would be nice

makes sense to me. maybe we can take this config from the browser.

@sabau
Copy link
Contributor

sabau commented Dec 11, 2018

Agree let's pick the system/browser preferences then eventually we can override them with some config

@sabau
Copy link
Contributor

sabau commented Jan 3, 2019

I would like to include in this also some fixes on time:

  • sometimes we use Date instead of moment
  • transaction.time seems not to be there for cosmos-sdk/Send transactions

@faboweb
Copy link
Collaborator

faboweb commented Jan 3, 2019

transaction.time seems not to be there for cosmos-sdk/Send transactions

transactions get enriched with time in Voyager (transaction module > enrichTransactions). transactions don't hold time. only block header information hold time.
This could/should move into stargate at some point.

@sabau
Copy link
Contributor

sabau commented Jan 4, 2019

Exactly,

  • the type does not match, we are storing an ISO string, but the usages of them seems to like Number
  • it seems to be null for some kind of transactions at least (just checked from develop)

totally agree on adding this before it hit the client

@sabau sabau mentioned this issue Jan 4, 2019
2 tasks
@faboweb
Copy link
Collaborator

faboweb commented Jan 5, 2019

Requested: cosmos/cosmos-sdk#3238

@sabau
Copy link
Contributor

sabau commented Jan 7, 2019

in the meanwhile the cause of the missed enrichment was just another Type mismatch :)

heightsSet: {28, 25, "2", "5", "8"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ux-improvement issues that would improve the user experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants