Переход на dayjs

This commit is contained in:
Book Pauk
2022-12-15 17:18:05 +07:00
parent dfd45a58bd
commit c602f3d531
4 changed files with 12 additions and 25 deletions

View File

@@ -367,10 +367,10 @@ class RecentBooksPage {
let d = new Date();
d.setTime(book.touchTime);
const touchTime = utils.formatDate(d);
const touchTime = utils.dateFormat(d, 'DD.MM.YYYY HH:mm');
const loadTimeRaw = (book.loadTime ? book.loadTime : 0);//book.addTime);
d.setTime(loadTimeRaw);
const loadTime = utils.formatDate(d);
const loadTime = utils.dateFormat(d, 'DD.MM.YYYY HH:mm');
let readPart = 0;
let perc = '';