This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v3-1-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 0465461a19122ced198f2df621a13f616a949229 Author: Tomi <[email protected]> AuthorDate: Thu Nov 20 21:11:51 2025 +0200 +Parse string with timezone to dayjs object, rather than create dayjs object and convert it (#57880) (cherry picked from commit 83eaca08260d26badd93ec2e56a39299c402196a) --- airflow-core/src/airflow/ui/src/components/DateTimeInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow-core/src/airflow/ui/src/components/DateTimeInput.tsx b/airflow-core/src/airflow/ui/src/components/DateTimeInput.tsx index 3ee9dbf62c8..cd7bd6ca8c7 100644 --- a/airflow-core/src/airflow/ui/src/components/DateTimeInput.tsx +++ b/airflow-core/src/airflow/ui/src/components/DateTimeInput.tsx @@ -47,7 +47,7 @@ export const DateTimeInput = forwardRef<HTMLInputElement, Props>(({ onChange, va target: { ...event.target, value: dayjs(event.target.value).isValid() - ? dayjs(event.target.value).tz(selectedTimezone, true).toISOString() + ? dayjs.tz(event.target.value, selectedTimezone).toISOString() // UI Timezone -> Utc -> yyyy-mm-ddThh:mm : "", }, })
