mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-11 03:39:49 +08:00
fix(frontend): complete i18n coverage and responsive layouts
This commit is contained in:
@@ -261,6 +261,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { getI18nLocale } from '@/i18n'
|
||||
import { computed, onMounted, ref } from 'vue'
|
||||
import { RefreshCw } from 'lucide-vue-next'
|
||||
import {
|
||||
@@ -326,7 +327,7 @@ function formatUsd(value: number): string {
|
||||
|
||||
function formatUnix(value?: number | null): string {
|
||||
if (!value) return '-'
|
||||
return new Date(value * 1000).toLocaleString('zh-CN')
|
||||
return new Date(value * 1000).toLocaleString(getI18nLocale())
|
||||
}
|
||||
|
||||
function getRewardTypeLabel(value: string): string {
|
||||
|
||||
Reference in New Issue
Block a user