You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a date time field and when I use console to save the data it is saved as local time because of using HTML input type date. But when we retrieve the data, we get it in ISO format with timezone: "2023-10-03T13:49:14.723+00:00" which is UTC by default.
馃帳 Pitch
Either change the way we save date time in console or add local server time zone instead of UTC otherwise we need to manipulate on the client side and in functions to local time zone.
馃憖 Have you spent some time to check if this issue has been raised before?
The standard behavior when working with datetimes is to send it to the server using UTC and receive it as UTC. When the client application displays it, it is shown in the local timezone. This ensures things are consistent server-side without considering what timezone the server is physically located.
I checked datatime attributes in the Appwrite Console, and it does look like this is precisely how it behaves.
馃敄 Feature description
I have a date time field and when I use console to save the data it is saved as local time because of using HTML input type date. But when we retrieve the data, we get it in ISO format with timezone: "2023-10-03T13:49:14.723+00:00" which is UTC by default.
馃帳 Pitch
Either change the way we save date time in console or add local server time zone instead of UTC otherwise we need to manipulate on the client side and in functions to local time zone.
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: