mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-05 22:36:05 +02:00
adujst mutual graph last fetch time format
This commit is contained in:
@@ -307,6 +307,7 @@
|
|||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
import BackToTop from '@/components/BackToTop.vue';
|
import BackToTop from '@/components/BackToTop.vue';
|
||||||
|
import dayjs from 'dayjs';
|
||||||
import EdgeCurveProgram from '@sigma/edge-curve';
|
import EdgeCurveProgram from '@sigma/edge-curve';
|
||||||
import Graph from 'graphology';
|
import Graph from 'graphology';
|
||||||
import Sigma from 'sigma';
|
import Sigma from 'sigma';
|
||||||
@@ -970,8 +971,7 @@
|
|||||||
|
|
||||||
let subLine = '';
|
let subLine = '';
|
||||||
if (data.lastFetchedAt) {
|
if (data.lastFetchedAt) {
|
||||||
const d = new Date(data.lastFetchedAt);
|
subLine = `${t('view.charts.mutual_friend.context_menu.last_fetched')}: ${dayjs(data.lastFetchedAt).format('YYYY-MM-DD HH:mm')}`;
|
||||||
subLine = `${t('view.charts.mutual_friend.context_menu.last_fetched')}: ${d.toLocaleString()}`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const labelWidth = ctx.measureText(data.label).width;
|
const labelWidth = ctx.measureText(data.label).width;
|
||||||
|
|||||||
Reference in New Issue
Block a user