mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-16 09:31:50 +02:00
✨ Show participated polls on polls page + UI refresh (#1089)
This commit is contained in:
parent
bd9e9fe95b
commit
f8a217ae75
125 changed files with 3007 additions and 2363 deletions
|
@ -1,5 +1,6 @@
|
|||
import { TimeFormat } from "@rallly/database";
|
||||
import dayjs from "dayjs";
|
||||
import advancedFormat from "dayjs/plugin/advancedFormat";
|
||||
import duration from "dayjs/plugin/duration";
|
||||
import isBetween from "dayjs/plugin/isBetween";
|
||||
import isSameOrAfter from "dayjs/plugin/isSameOrAfter";
|
||||
|
@ -169,11 +170,12 @@ dayjs.extend(timezone);
|
|||
dayjs.extend(duration);
|
||||
dayjs.extend(isSameOrAfter);
|
||||
dayjs.extend(updateLocale);
|
||||
dayjs.extend(advancedFormat);
|
||||
|
||||
const DayjsContext = React.createContext<{
|
||||
adjustTimeZone: (
|
||||
date: dayjs.ConfigType,
|
||||
keepLocalTime?: boolean,
|
||||
keepLocalTime: boolean,
|
||||
) => dayjs.Dayjs;
|
||||
dayjs: (date?: dayjs.ConfigType) => dayjs.Dayjs;
|
||||
locale: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue