fix: console error and codacy

This commit is contained in:
David Ralph
2021-08-27 18:27:11 +01:00
parent feb7e1d93c
commit abe70617d8
19 changed files with 25 additions and 23 deletions

View File

@@ -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 }));
};
}