fix: show snapshot time in browser time zone (WealthLedger/frontend#101)

This commit is contained in:
2026-10-24 10:32:17 +03:00
parent 7e6fd95cfa
commit 579f7fdf51
2 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -61,10 +61,10 @@ function formatMoney(
return `${formatDecimal(decimal)} ${currency}`;
}
// Без timeZone Intl берёт часовой пояс браузера пользователя.
const snapshotFormatter = new Intl.DateTimeFormat("ru-RU", {
dateStyle: "short",
timeStyle: "short",
timeZone: "UTC",
});
function formatSnapshotTime(value: string): string {