fix: timezone count (#4604)

* fix: timezone count

* fix: ts

* fix: test llm
This commit is contained in:
Archer
2025-04-20 22:24:03 +08:00
committed by GitHub
parent 61aa91b3aa
commit 4ac2a2f43e
10 changed files with 73 additions and 50 deletions

View File

@@ -1,9 +1,9 @@
import React, { useRef } from 'react';
import { timezoneList } from '@fastgpt/global/common/time/timezone';
import { getTimeZoneList } from '@fastgpt/global/common/time/timezone';
import { Select } from '@chakra-ui/react';
const TimezoneSelect = ({ value, onChange }: { value?: string; onChange: (e: string) => void }) => {
const timezones = useRef(timezoneList());
const timezones = useRef(getTimeZoneList());
return (
<Select