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

Aggregate ignores current day #466

Open
MiltenPlescott opened this issue Mar 28, 2022 · 1 comment
Open

Aggregate ignores current day #466

MiltenPlescott opened this issue Mar 28, 2022 · 1 comment

Comments

@MiltenPlescott
Copy link

MiltenPlescott commented Mar 28, 2022

Problem

Monday 28th March is not showing up in aggregate, despite log working correctly. This problem happened for the first time after using watson for months, so I guess it's maybe related to the daylight saving time change that happened on Sunday?

Update (29th): the 28th started showing up in aggregate but 29th doesn't show up.

As a workaround you can use watson aggregate --from today --to today (where today is in YYYY-MM-DD)

Enviroment

Time zone: CEST
Windows 10 21H2

I was able to make a minimal reproducible example on WSL:
Ubuntu 20.04.3 LTS
Python 3.8.10
Watson, version 2.0.1

Logs

watson log

foo@bar:~$ watson log -G
Monday 28 March 2022 (03s)
        6899a52  16:16 to 16:16          03s  github  [bugreport]
foo@bar:~$

watson aggregate

foo@bar:~$ watson aggregate -G
Mon 21 March 2022 - 00s


Tue 22 March 2022 - 00s


Wed 23 March 2022 - 00s


Thu 24 March 2022 - 00s


Fri 25 March 2022 - 00s


Sat 26 March 2022 - 00s


Sun 27 March 2022 - 00s

foo@bar:~$

frames

[
 [
  1648476984,
  1648476987,
  "github",
  "6899a52c2b28447baf5bcc4c9b47105e",
  [
   "bugreport"
  ],
  1648476987
 ]
]

@MiltenPlescott
Copy link
Author

Same problem today - Monday 27th is not showing up in aggregate. Again the day after daylight saving time change.

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

No branches or pull requests

1 participant