Skip to content

Commit c93a18a

Browse files
committed
fix: back to plain lag days
1 parent 1d59111 commit c93a18a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modes/mobile/IndicatorCorrelation.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { modeByID } from '..';
44
import { sensorList, currentMode, currentSensor2 } from '../../stores';
55
import { scrollToTop } from '../../util';
6-
import { generateCorrelationMetrics, lagToOffset } from '../../data/correlation';
6+
import { generateCorrelationMetrics } from '../../data/correlation';
77
import { formatRawValue } from '../../formats';
88
import FancyHeader from './FancyHeader.svelte';
99
import SortColumnIndicator from './components/SortColumnIndicator.svelte';
@@ -165,7 +165,7 @@
165165
{:then m}
166166
<td class="uk-text-right">{formatRawValue(m.r2At0)}</td>
167167
<td class="uk-text-right">{formatRawValue(m.r2AtMaxR2)}</td>
168-
<td class="uk-text-right">{lagToOffset(m.lagAtMaxR2, 'zero')}</td>
168+
<td class="uk-text-right">{m.lagAtMaxR2.toLocaleString()} days</td>
169169
{:catch err}
170170
<td colspan="3" class="small">{err.message}</td>
171171
{/await}

0 commit comments

Comments
 (0)