update tz to format mesagae

This commit is contained in:
Admin 2025-09-09 15:46:49 +07:00
parent 016648553d
commit 3cbaedbfe5
1 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,6 @@ import * as moment from 'moment-timezone';
export function formatTimeAU(timestamp: number) { export function formatTimeAU(timestamp: number) {
return moment(timestamp) return moment(timestamp)
.tz('Australia/Sydney') // Đặt timezone .tz('Etc/GMT-10') // Luôn cố định UTC+10
.format('DD/MM/YYYY, h:mm A'); .format('DD/MM/YYYY, h:mm A [AEST]');
} }