mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
client: format dates and times in the "About" section
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import server from "../../services/server.js";
|
||||
import utils from "../../services/utils.js";
|
||||
import { formatDate } from "../../utils/formatters.js"
|
||||
import { t } from "../../services/i18n.js";
|
||||
import BasicWidget from "../basic_widget.js";
|
||||
import openService from "../../services/open.js";
|
||||
import server from "../../services/server.js";
|
||||
import utils from "../../services/utils.js";
|
||||
|
||||
|
||||
const TPL = `
|
||||
@@ -68,7 +69,7 @@ export default class AboutDialog extends BasicWidget {
|
||||
this.$appVersion.text(appInfo.appVersion);
|
||||
this.$dbVersion.text(appInfo.dbVersion);
|
||||
this.$syncVersion.text(appInfo.syncVersion);
|
||||
this.$buildDate.text(appInfo.buildDate);
|
||||
this.$buildDate.text(formatDate(new Date(appInfo.buildDate)));
|
||||
this.$buildRevision.text(appInfo.buildRevision);
|
||||
this.$buildRevision.attr('href', `https://github.com/TriliumNext/Notes/commit/${appInfo.buildRevision}`);
|
||||
if (utils.isElectron()) {
|
||||
|
||||
Reference in New Issue
Block a user