Skip to content

Commit

Permalink
fix(app): dedupe UTC from timezones and include datepicker styling in…
Browse files Browse the repository at this point in the history
… main.tsx
  • Loading branch information
cmgriffing committed May 7, 2024
1 parent 893d4b4 commit e7ee248
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/app/src/components/features/ScheduledForm.tsx
Expand Up @@ -33,7 +33,9 @@ import { VexillaSchedule } from "@vexilla/types";
import { Icon } from "@iconify/react";
import clockCircleBroken from "@iconify/icons-solar/clock-circle-broken";

const timezones = Intl.supportedValuesOf("timeZone");
const timezones = Intl.supportedValuesOf("timeZone").filter((timeZone) => {
return timeZone != "UTC";
});
timezones.unshift("UTC");

interface ScheduledFormProps {
Expand Down
1 change: 1 addition & 0 deletions apps/app/src/main.tsx
Expand Up @@ -18,6 +18,7 @@ import { EditFeature } from "./routes/features/EditFeature.tsx";
import { EditGroup } from "./routes/groups/EditGroup.tsx";

import "@mantine/core/styles.css";
import "@mantine/dates/styles.css";
import "./index.css";

import "@fontsource/atkinson-hyperlegible";
Expand Down

0 comments on commit e7ee248

Please sign in to comment.