mirror of
https://github.com/mue/mue.git
synced 2026-07-16 05:23:49 +02:00
fix: clock hot reload
This commit is contained in:
@@ -13,8 +13,8 @@ export function nth(d) {
|
||||
default:
|
||||
return d + 'th';
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export function convertTimezone(date, tz) {
|
||||
return new Date((typeof date === 'string' ? new Date(date) : date).toLocaleString('en-US', { timeZone: tz }));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user