question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

monthly statement drop down shows previous month in dropdown for current month

See original GitHub issue

Description

Monthly statement drop down shows February 2020 however data is being shown (right side summary and bottom lists) for current month of March.

Steps to Reproduce

  1. Clean profile w/ staging flags
  2. Enable Rewards, claim grant
  3. Make a one time tip
  4. Open monthly statement

Actual result:

Dropdown says ‘February 2020’ (note, this is the only option in the drop down) however data shown is for current month of March: Screen Shot 2020-03-24 at 12 23 33 PM Screen Shot 2020-03-24 at 12 20 37 PM

Expected result:

I expected the drop down to say ‘March 2020’ or ‘current month’ something like that.

Reproduces how often:

easily

Brave version (brave://version info)

Brave 1.7.71 Chromium: 80.0.3987.149 (Official Build) dev (64-bit)
Revision 5f4eb224680e5d7dca88504586e9fd951840cac6-refs/branch-heads/3987_137@{#16}
OS macOS Version 10.14.6 (Build 18G3020)

Version/Channel Information:

  • Can you reproduce this issue with the current release? n/a
  • Can you reproduce this issue with the beta channel? yes
  • Can you reproduce this issue with the dev channel? yes
  • Can you reproduce this issue with the nightly channel? unsure, probably

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields?
  • Does the issue resolve itself when disabling Brave Rewards?
  • Is the issue reproducible on the latest version of Chrome?

Miscellaneous Information:

cc @NejcZdovc @mandar-brave

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
NejcZdovccommented, Mar 24, 2020

@LaurenWags yes we decided to show current month as well, I think it’s just selection problem (showing wrong month)

0reactions
LaurenWagscommented, Apr 1, 2020

Verified passed with

Brave 1.7.79 Chromium: 80.0.3987.149 (Official Build) dev (64-bit)
Revision 5f4eb224680e5d7dca88504586e9fd951840cac6-refs/branch-heads/3987_137@{#16}
OS macOS Version 10.14.6 (Build 18G3020)
  • Verified STR from description Screen Shot 2020-03-31 at 10 10 33 AM

  • Verified that when you have multiple months, you can select a different month and the monthly statement is updated accordingly: Screen Shot 2020-03-31 at 10 19 16 AM Screen Shot 2020-03-31 at 10 19 03 AM Screen Shot 2020-03-31 at 10 19 10 AM

Verification passed on

Brave 1.7.79 Chromium: 80.0.3987.149 (Official Build) dev (64-bit)
Revision 5f4eb224680e5d7dca88504586e9fd951840cac6-refs/branch-heads/3987_137@{#16}
OS Windows 10 OS Version 1803 (Build 17134.1006)
  • Verified STR from description image

Verification passed on

Brave 1.7.81 Chromium: 80.0.3987.149 (Official Build) dev (64-bit)
Revision 5f4eb224680e5d7dca88504586e9fd951840cac6-refs/branch-heads/3987_137@{#16}
OS Ubuntu 18.04 LTS

Verified test plan from the description image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Display only the previous month's name in dropdown list
You can do something like this: var previousMonth = DateTime.Now.Month == 1 ? 1 : DateTime.Now.Month - 1 var months = Enumerable.
Read more >
Create a drop down calendar - Get Digital Help
You can select a year and month and a formula calculates the right number of days in the last drop down list, however...
Read more >
Power BI : Default Current Month & Previous Month Selection
Solved: Hi All, I am working on monthly sales report which fetches its data from monthly invoice excel files as and when data...
Read more >
Solved: Filter to only show current month and last 12 mont...
Solved: Filter to only show current month and last 12 months in dropdown.
Read more >
Display Last N Months & Selected Month using Single Date ...
2) Create 3 measures as shown below, and then add those 3 measures in the report along with a month slicer as shown...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found