mirror of
https://github.com/mue/mue.git
synced 2026-07-14 20:43:54 +02:00
fix: console error and codacy
This commit is contained in:
@@ -17,4 +17,4 @@ export function nth(d) {
|
||||
|
||||
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