Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -7,6 +7,7 @@ import { cn } from "~/lib/utils";
|
||||
import { Button, buttonVariants } from "~/components/ui/button";
|
||||
import { getDateFnsLocale } from "~/locale/date-fns";
|
||||
import { Calendar as SubframeCalendar } from "~/ui/components/Calendar";
|
||||
import { APP_TIME_ZONE } from "~/locale/format";
|
||||
|
||||
// Subframe migration (strangler shim):
|
||||
// This file keeps the original shadcn `Calendar` API but renders the Subframe design-system
|
||||
@@ -43,7 +44,7 @@ function Calendar({
|
||||
const { i18n } = useTranslation();
|
||||
const language = i18n.language || undefined;
|
||||
const dateFnsLocale = localeProp ?? getDateFnsLocale(language);
|
||||
const monthDropdownFormatter = React.useMemo(() => new Intl.DateTimeFormat(language, { month: "short" }), [language]);
|
||||
const monthDropdownFormatter = React.useMemo(() => new Intl.DateTimeFormat(language, { timeZone: APP_TIME_ZONE, month: "short" }), [language]);
|
||||
|
||||
return (
|
||||
<SubframeCalendar
|
||||
|
||||
Reference in new issue
Block a user