anki/ts/graphs
Kieran Black fe591f6be7
fix stats calendar incorrect due to daylight savings time (#2456)
* fix stats calendar daylight saving time offset bug

Previously, when computing counts for the calendar in the stats menu, it was assumed that days had 86,400 seconds. However, this assumption does not hold true on the day when daylight savings occurs.

* add self to CONTRIBUTORS and about.py

* fix stats calendar anki day to calendar day mapping

Since Anki days don't necessarily roll over at midnight, mapping an Anki day into a calendar day needs to have a linear shift applied. By providing the frontend with access to the scheduler's rollover hour, we can account for this offset.
2023-03-28 15:35:06 +10:00
..
added.ts Fix incorrect added total/average 2023-01-10 09:45:54 +10:00
AddedGraph.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
AxisTicks.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
buttons.ts Move more of the graph processing into the backend 2022-12-16 21:42:17 +10:00
ButtonsGraph.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
calendar.ts fix stats calendar incorrect due to daylight savings time (#2456) 2023-03-28 15:35:06 +10:00
CalendarGraph.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
card-counts.ts Move more of the graph processing into the backend 2022-12-16 21:42:17 +10:00
CardCounts.svelte Auto-hide toolbar in Reviewer (#2262) 2023-01-09 14:39:31 +10:00
CumulativeOverlay.svelte yarn upgrade --latest 2021-10-01 12:52:53 +10:00
ease.ts Move more of the graph processing into the backend 2022-12-16 21:42:17 +10:00
EaseGraph.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
future-due.ts Move more of the graph processing into the backend 2022-12-16 21:42:17 +10:00
FutureDue.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
graph-helpers.ts Move more of the graph processing into the backend 2022-12-16 21:42:17 +10:00
graph-styles.ts merge in Henrik's TS/Svelte refactor with some changes 2021-03-21 23:01:18 +10:00
Graph.svelte Fix some regressions with the graphs when printing 2022-12-30 17:37:38 +10:00
GraphRangeRadios.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
graphs-base.scss Prevent the sticky from hiding in the stats page (#2457) 2023-03-26 15:23:50 +10:00
GraphsPage.svelte Fix some regressions with the graphs when printing 2022-12-30 17:37:38 +10:00
histogram-graph.ts Re-enable formatting for .ts files 2022-11-28 09:33:04 +10:00
HistogramGraph.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
HourGraph.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
hours.ts Move more of the graph processing into the backend 2022-12-16 21:42:17 +10:00
HoverColumns.svelte Minor changes to graphs (#1566) 2021-12-29 15:04:15 +10:00
index.ts Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
InputBox.svelte yarn upgrade --latest 2021-10-01 12:52:53 +10:00
intervals.ts Move more of the graph processing into the backend 2022-12-16 21:42:17 +10:00
IntervalsGraph.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
NoDataOverlay.svelte Make the NoData overlay match the normal background color 2022-12-04 14:49:04 +10:00
RangeBox.svelte Make search in stats page trigger onChange (#2428) 2023-03-11 16:07:49 +10:00
reviews.ts Move more of the graph processing into the backend 2022-12-16 21:42:17 +10:00
ReviewsGraph.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
TableData.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
today.ts Move more of the graph processing into the backend 2022-12-16 21:42:17 +10:00
TodayStats.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
Tooltip.svelte Auto-hide toolbar in Reviewer (#2262) 2023-01-09 14:39:31 +10:00
tooltip.ts Re-enable formatting for .ts files 2022-11-28 09:33:04 +10:00
tsconfig.json Use custom scrollbar in stats screen, use grid layout and tweak CSS (#2154) 2022-11-02 18:23:08 +10:00
WithGraphData.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00