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 20, 2024
1 parent 758d978 commit 73a428d
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 73a428d

Please sign in to comment.