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

zeit stats shows previous shows stats for previous Sunday in left-hand plot #8

Open
khughitt opened this issue Feb 5, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@khughitt
Copy link
Contributor

khughitt commented Feb 5, 2021

For example, for today (Fri Feb 5), the statistic for the last Sunday in January are shown in the left-hand plot:

FEBRUARY / JANUARY

CW 05                    37.79 H                CW 04                    4.93 H
24 │····························                24 │····························
20 │····························                20 │····························
16 │····························                16 │····························
12 │···· ▄█ ····················                12 │····························
 8 │ ▄█  ██  ▄█   ▄ ········ ██                  8 │····················  ▄ ····
 4 │ ██  ██  ██  ██ ········ ██                  4 │···················· ██ ····
   └────────────────────────────                   └────────────────────────────
     Mo  Tu  We  Th  Fr  Sa  Su                     Mo  Tu  We  Th  Fr  Sa  Su

I believe the data for "Su" on the left-hand side should be rendered in the right-hand plot (for January).

@mrusme
Copy link
Owner

mrusme commented Feb 6, 2021

Do you have that set of data available so I could reproduce this? Is it possible for you to export and anonymise everything but the dates/times?

@mrusme mrusme added the bug Something isn't working label Feb 6, 2021
@khughitt
Copy link
Contributor Author

khughitt commented Feb 6, 2021

Sure thing! Here you go:

[{"begin":"2021-01-30T16:13:02.240226296-05:00","finish":"2021-01-30T16:51:58.071942709-05:00","project":"foo","user":"keith"},{"begin":"2021-01-30T17:01:37.270714051-05:00","finish":"2021-01-30T18:41:03.670127036-05:00","project":"foo","user":"keith"},{"begin":"2021-01-30T19:08:25.249434362-05:00","finish":"2021-01-30T19:26:37.9980592-05:00","project":"foo","user":"keith"},{"begin":"2021-01-30T19:26:00.183513381-05:00","finish":"2021-01-30T21:45:00.1-05:00","project":"foo","user":"keith"},{"begin":"2021-01-31T01:48:02.378345044-05:00","finish":"2021-01-31T03:03:08.57703957-05:00","project":"foo","user":"keith"},{"begin":"2021-01-31T10:19:17.172582305-05:00","finish":"2021-01-31T11:26:38.620865793-05:00","project":"foo","user":"keith"},{"begin":"2021-01-31T16:31:04.920785693-05:00","finish":"2021-01-31T16:41:07.356715882-05:00","project":"foo","user":"keith"},{"begin":"2021-01-31T18:10:25.152582057-05:00","finish":"2021-01-31T19:45:29.413920852-05:00","project":"foo","user":"keith"},{"begin":"2021-01-31T20:05:43.895317047-05:00","finish":"2021-01-31T20:25:46.190642938-05:00","project":"foo","user":"keith"},{"begin":"2021-01-31T20:30:26.589660394-05:00","finish":"2021-01-31T20:58:21.993003443-05:00","project":"foo","user":"keith"},{"begin":"2021-01-31T20:59:01.159256097-05:00","finish":"2021-01-31T21:04:57.838475026-05:00","project":"foo","user":"keith"},{"begin":"2021-01-31T21:25:49.469054526-05:00","finish":"2021-02-01T00:24:19.558387821-05:00","project":"foo","user":"keith"},{"begin":"2021-02-01T01:57:29.096830655-05:00","finish":"2021-02-01T03:14:48.401870021-05:00","project":"foo","user":"keith"},{"begin":"2021-02-01T11:00:00-05:00","finish":"2021-02-01T11:22:32.574206472-05:00","project":"foo","user":"keith"},{"begin":"2021-02-01T11:27:28.48734052-05:00","finish":"2021-02-01T12:49:18.533311425-05:00","project":"foo","user":"keith"},{"begin":"2021-02-01T12:56:01.840583605-05:00","finish":"2021-02-01T13:14:08.280764116-05:00","project":"foo","user":"keith"},{"begin":"2021-02-01T13:14:14.224528229-05:00","finish":"2021-02-01T13:30:36.792758435-05:00","project":"foo","user":"keith"},{"begin":"2021-02-01T13:30:39.409586491-05:00","finish":"2021-02-01T13:41:51.591443989-05:00","project":"foo","user":"keith"},{"begin":"2021-02-01T14:35:13.824378766-05:00","finish":"2021-02-01T15:01:10.8975558-05:00","project":"foo","user":"keith"},{"begin":"2021-02-01T15:01:17.424833513-05:00","finish":"2021-02-01T15:19:58.008904919-05:00","project":"foo","user":"keith"},{"begin":"2021-02-01T18:58:03.64024256-05:00","finish":"2021-02-01T19:19:07.31533053-05:00","project":"foo","user":"keith"},{"begin":"2021-02-01T19:21:38.351708585-05:00","finish":"2021-02-01T20:31:40.68920123-05:00","project":"foo","user":"keith"},{"begin":"2021-02-01T22:35:09.681308303-05:00","finish":"2021-02-01T23:25:10.220292888-05:00","project":"foo","user":"keith"},{"begin":"2021-02-02T00:34:40.329610508-05:00","finish":"2021-02-02T01:34:15.327140819-05:00","project":"foo","user":"keith"},{"begin":"2021-02-02T09:59:12.480236831-05:00","finish":"2021-02-02T11:15:02.854112616-05:00","project":"foo","user":"keith"},{"begin":"2021-02-02T11:26:25.560885536-05:00","finish":"2021-02-02T12:34:28.050552694-05:00","project":"foo","user":"keith"},{"begin":"2021-02-02T12:36:27.910875627-05:00","finish":"2021-02-02T12:45:52.368448523-05:00","project":"foo","user":"keith"},{"begin":"2021-02-02T12:56:36.461287473-05:00","finish":"2021-02-02T14:59:07.872486857-05:00","project":"foo","user":"keith"},{"begin":"2021-02-02T15:04:29.519231803-05:00","finish":"2021-02-02T15:34:15.289378989-05:00","project":"foo","user":"keith"},{"begin":"2021-02-02T18:12:38.952857327-05:00","finish":"2021-02-02T20:40:32.315007608-05:00","project":"foo","user":"keith"},{"begin":"2021-02-02T20:59:32.689245111-05:00","finish":"2021-02-02T21:29:34.589790264-05:00","project":"foo","user":"keith"},{"begin":"2021-02-02T21:42:20.00396016-05:00","finish":"2021-02-02T23:21:33.796426752-05:00","project":"foo","user":"keith"},{"begin":"2021-02-03T11:12:44.849790152-05:00","finish":"2021-02-03T16:21:24.050648481-05:00","project":"foo","user":"keith"},{"begin":"2021-02-03T16:57:17.451939991-05:00","finish":"2021-02-03T17:12:19.38283849-05:00","project":"foo","user":"keith"},{"begin":"2021-02-03T17:12:28.408422058-05:00","finish":"2021-02-03T18:44:46.845860296-05:00","project":"foo","user":"keith"},{"begin":"2021-02-03T18:30:09.990124105-05:00","finish":"2021-02-03T18:50:11.600072092-05:00","project":"foo","user":"keith"},{"begin":"2021-02-04T09:38:57.642710703-05:00","finish":"2021-02-04T09:49:03.745781971-05:00","project":"foo","user":"keith"},{"begin":"2021-02-04T19:22:44.203017917-05:00","finish":"2021-02-04T19:37:45.612639295-05:00","project":"foo","user":"keith"},{"begin":"2021-02-04T19:42:09.062520152-05:00","finish":"2021-02-04T23:26:52.98851546-05:00","project":"foo","user":"keith"},{"begin":"2021-02-04T23:26:59.536719047-05:00","finish":"2021-02-05T00:13:05.170195402-05:00","project":"foo","user":"keith"},{"begin":"2021-02-05T00:39:28.447464237-05:00","finish":"2021-02-05T01:16:30.577917677-05:00","project":"foo","user":"keith"},{"begin":"2021-02-05T01:16:33.154126731-05:00","finish":"2021-02-05T01:40:17.894440738-05:00","project":"foo","user":"keith"},{"begin":"2021-02-05T01:40:22.892878941-05:00","finish":"2021-02-05T02:32:25.652631483-05:00","project":"foo","user":"keith"},{"begin":"2021-02-05T10:23:05.902428711-05:00","finish":"2021-02-05T13:54:44.823550791-05:00","project":"foo","user":"keith"},{"begin":"2021-02-05T15:19:58.806599275-05:00","finish":"2021-02-05T16:44:39.837276995-05:00","project":"foo","user":"keith"},{"begin":"2021-02-05T18:50:55.273573969-05:00","finish":"2021-02-06T01:13:25.533458426-05:00","project":"foo","user":"keith"},{"begin":"2021-02-06T11:07:21.314422202-05:00","finish":"2021-02-06T13:36:21.282507424-05:00","project":"foo","user":"keith"},{"begin":"2021-02-06T15:02:28.055562431-05:00","finish":"2021-02-06T15:07:36.96425569-05:00","project":"foo","user":"keith"},{"begin":"2021-02-06T15:07:13.641277026-05:00","finish":"2021-02-06T15:08:23.934216026-05:00","project":"foo","user":"keith"}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants