Skip to content

Commit

Permalink
Added timeZone arg (deephaven#2074)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Jun 24, 2024
1 parent d7b3404 commit 5aeb768
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function usePickerProps<TProps>({
}: PickerWithTableProps<TProps>): UsePickerProps<TProps> {
const { itemHeight } = usePickerItemScale();

const { getFormattedString: formatValue } = useFormatter(settings);
const { getFormattedString: formatValue, timeZone } = useFormatter(settings);

// `null` is a valid value for `selectedKey` in controlled mode, so we check
// for explicit `undefined` to identify uncontrolled mode.
Expand Down Expand Up @@ -127,6 +127,7 @@ export function usePickerProps<TProps>({
itemHeight,
deserializeRow,
searchColumnNames,
timeZone,
});

const normalizedItems = viewportData.items as (
Expand Down

0 comments on commit 5aeb768

Please sign in to comment.