Переход на 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

@@ -60,7 +60,7 @@ class PasteTextPage {
calcTitle(event) {
if (this.bookTitle == '') {
this.bookTitle = `Из буфера обмена ${utils.formatDate(new Date(), 'noDate')}`;
this.bookTitle = `Из буфера обмена ${utils.dateFormat(new Date())}`;
if (event) {
let text = event.clipboardData.getData('text');
this.bookTitle += ': ' + _.compact([