Skip to content

Commit 250ffd3

Browse files
committed
Make includeDate optional
1 parent 25f37f1 commit 250ffd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/webapp/app/components/primitives/DateTime.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export function formatDateTime(
107107
locales: string[],
108108
includeSeconds: boolean,
109109
includeTime: boolean,
110-
includeDate: boolean,
110+
includeDate: boolean = true,
111111
hour12: boolean = true
112112
): string {
113113
return new Intl.DateTimeFormat(locales, {

apps/webapp/app/components/primitives/charts/ChartRoot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function ChartRootInner({
147147
"h-full w-full",
148148
fillContainer && "!aspect-auto",
149149
enableZoom &&
150-
"[&_.recharts-surface]:cursor-crosshair [&_.recharts-wrapper]:cursor-crosshair"
150+
"[&_.recharts-surface]:cursor-crosshair [&_.recharts-wrapper]:cursor-crosshair"
151151
)}
152152
style={fillContainer ? undefined : minHeight ? { minHeight } : undefined}
153153
>

0 commit comments

Comments
 (0)