File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
import { modeByID } from ' ..' ;
4
4
import { sensorList , currentMode , currentSensor2 } from ' ../../stores' ;
5
5
import { scrollToTop } from ' ../../util' ;
6
- import { generateCorrelationMetrics , lagToOffset } from ' ../../data/correlation' ;
6
+ import { generateCorrelationMetrics } from ' ../../data/correlation' ;
7
7
import { formatRawValue } from ' ../../formats' ;
8
8
import FancyHeader from ' ./FancyHeader.svelte' ;
9
9
import SortColumnIndicator from ' ./components/SortColumnIndicator.svelte' ;
165
165
{:then m }
166
166
<td class ="uk-text-right" >{formatRawValue (m .r2At0 )}</td >
167
167
<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 >
169
169
{:catch err }
170
170
<td colspan ="3" class ="small" >{err .message }</td >
171
171
{/await }
You can’t perform that action at this time.
0 commit comments