hoàn thành tích hợp FSRS
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
const w = [
|
||||
0.4025, 1.4612, 3.3458, 15.6922, 5.8483, 1.2081, 1.2946, 0.0014, 1.5478,
|
||||
0.133, 1.0124, 2.4467, 0.0641, 0.5044, 1.242, 0.2836, 2.8536,
|
||||
];
|
||||
const q1 = 1;
|
||||
const s1 = w[q1-1];
|
||||
const d1 = new Date();
|
||||
d1.setMinutes(d1.getMinutes() + Math.round(s1 * 24 * 60));
|
||||
|
||||
const q2 = 2;
|
||||
const s2 = w[q2-1];
|
||||
const d2 = new Date();
|
||||
d2.setMinutes(d2.getMinutes() + Math.round(s2 * 24 * 60));
|
||||
|
||||
console.log("Again:", s1, d1);
|
||||
console.log("Hard:", s2, d2);
|
||||
Reference in New Issue
Block a user