From 6bf97d4fd538a028a34e0cb46f02d0d887fe2435 Mon Sep 17 00:00:00 2001
From: Eric Bailey <git@esb.lol>
Date: Wed, 20 Mar 2024 17:44:31 -0500
Subject: Adjust DateField timezone offset

---
 src/components/forms/DateField/index.android.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/forms/DateField/index.android.tsx')

diff --git a/src/components/forms/DateField/index.android.tsx b/src/components/forms/DateField/index.android.tsx
index 4a1d0d6d1..700d15e6d 100644
--- a/src/components/forms/DateField/index.android.tsx
+++ b/src/components/forms/DateField/index.android.tsx
@@ -1,7 +1,6 @@
 import React from 'react'
 import DatePicker from 'react-native-date-picker'
 
-import {isAndroid} from 'platform/detection'
 import {useTheme} from '#/alf'
 import {DateFieldProps} from '#/components/forms/DateField/types'
 import {toSimpleDateString} from '#/components/forms/DateField/utils'
@@ -52,8 +51,9 @@ export function DateField({
 
       {open && (
         <DatePicker
-          modal={isAndroid}
-          open={isAndroid}
+          modal
+          open
+          timeZoneOffsetInMinutes={0}
           theme={t.name === 'light' ? 'light' : 'dark'}
           date={new Date(value)}
           onConfirm={onChangeInternal}
-- 
cgit 1.4.1

