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

Change time format to 24h #1800

Merged
merged 2 commits into from
Jan 7, 2019
Merged

Change time format to 24h #1800

merged 2 commits into from
Jan 7, 2019

Conversation

sabau
Copy link
Contributor

@sabau sabau commented Jan 4, 2019

Closes #1720

Description:

  • change time format for Transactions from 12 to 24H
  • change times in tests to agree with fixed-time
  • fix transactions enrichment to match props expectations

❤️ Thank you!


  • Added entries in CHANGELOG.md with issue # and GitHub username
  • Reviewed Files changed in the github PR explorer

- change times to agree with fixed-time
- fix transactions enrichment to match props expectations

Signed-off-by: Karoly Albert Szabo <[email protected]>
@codecov
Copy link

codecov bot commented Jan 4, 2019

Codecov Report

Merging #1800 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1800      +/-   ##
===========================================
+ Coverage    95.05%   95.05%   +<.01%     
===========================================
  Files          123      123              
  Lines         2951     2953       +2     
  Branches       120      121       +1     
===========================================
+ Hits          2805     2807       +2     
  Misses         137      137              
  Partials         9        9
Impacted Files Coverage Δ
app/src/renderer/vuex/modules/transactions.js 100% <100%> (ø) ⬆️
...nderer/components/transactions/TmLiTransaction.vue 100% <100%> (ø) ⬆️

@@ -50,13 +50,13 @@ describe(`Module: Transactions`, () => {
blockHeight: `3436`,
blockMetaInfo: {
header: {
time: 1042
time: 42000
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is caused by the global Date override in jest

- for transactions older than today, show all date

Signed-off-by: Karoly Albert Szabo <[email protected]>
@sabau sabau changed the title [WIP] Change time format to 24h Change time format to 24h Jan 7, 2019
@faboweb faboweb merged commit 3d406d0 into develop Jan 7, 2019
@faboweb faboweb deleted the sabau/1720-time-format branch January 7, 2019 11:51
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.

Use 24 hr format for displaying time
2 participants