MCPcopy Index your code
hub / github.com/MALSync/MALSync / getPrediction

Method getPrediction

src/utils/progress.ts:45–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44
45 getPrediction() {
46 const timestamp = Number(this.getPredictionTimestamp());
47 if (Number.isNaN(timestamp)) return '';
48 const progress = new IntlDateTime(timestamp).getRelativeNowFriendlyText('Progress', {
49 style: 'significantLongNarrow',
50 });
51 return progress;
52 }
53
54 getPredictionText() {
55 const timestamp = Number(this.getPredictionTimestamp());

Callers 1

getAutoMethod · 0.95

Calls 2

Tested by

no test coverage detected