Hi Matthew,
Greetings from Syncfusion support.
Sorry for the delayed response. Based on your query, the
Grid doesn't automatically perform any conversions on DateTime fields based on
the local timezone. However, you have the option to customize the timezone
using the serverTimezoneOffset property of the DataUtil class. By
setting this property, you can ensure that the Grid considers the appropriate
timezone offset for your application.
Here is a code snippet that demonstrates how to set the
serverTimezoneOffset property:
|
[index.ts]
import { DataUtil
} from '@syncfusion/ej2-data';
DataUtil.serverTimezoneOffset = new Date().getTimezoneOffset();
|
Sample: https://stackblitz.com/edit/un9ny4-g2q7qu?file=index.ts
We hope this information addresses your concern. If you have
any further questions or need additional assistance, please feel free to reach
out to us.
Regards,
Santhosh I