swdotcom / swdc-vscode

Time-tracking plugin for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=softwaredotcom.swdc-vscode
Apache License 2.0
451 stars 46 forks source link

Not getting the right date for yesterday and last week #424

Closed bilalzhd closed 1 year ago

bilalzhd commented 1 year ago

It is not already on GitHub.

Describe the bug A clear and concise description of what the bug is.

I am not getting the right date for yesterday's stats, the date for today's stats is right, but when I go to dashboard the yesterday's stats is something 16 July, and also last week's stats = July Month.

**ISSUE TYPE**
- Bug Report

**Steps to reproduce**
<!--- Describe exactly how to reproduce the problem -->

1. Go to 'Extension Code Time'
2. Click on 'Dashboard'
3. Scroll down to 'Yesterday's Stats
4. See error i.e. yesterday's date would not be correct.

<!--- HINT: You can paste gist.github.com links for larger files -->

**Expected behavior**
A clear and concise description of what you expected to happen.
```paste below
I expected it to be right e.g if today is 29 Oct then on yesterday's stats it should be 28th October but I am getting July 16 something.

ACTUAL RESULTS

Screenshots If applicable, add screenshots to help explain your problem. code time bug

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

mmclead commented 1 year ago

Hi. Sorry for this issue. The date's being shown are definitely incorrect. The data should be right now.

We'll get this updated and fixed right away. Thanks for alerting us @bilalzhd

mmclead commented 1 year ago

This has been fixed. Thanks again