mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-16 09:31:50 +02:00
Run autofix
This commit is contained in:
parent
cfb9ec8e8a
commit
1a5b2f206d
20 changed files with 132 additions and 141 deletions
|
@ -224,9 +224,8 @@ export const DayjsProvider: React.FunctionComponent<{
|
|||
(date: dayjs.ConfigType, localTime = false) => {
|
||||
if (!localTime) {
|
||||
return dayjs(date).tz(preferredTimeZone);
|
||||
} else {
|
||||
return dayjs(date).utc();
|
||||
}
|
||||
return dayjs(date).utc();
|
||||
},
|
||||
[preferredTimeZone],
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue