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
{{ message }}
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
What steps will reproduce the problem?
1. Inserting a DateValue into a table requires that it be expressed in GMT
2. JSON renderer generates code to construct Date objects with
year,month,day,hour,minute,second
3. Client-side javascript interprets date in local timezone
What is the expected output? What do you see instead?
I expect the client side to have enough information to generate correct local
time values.
What version of the product are you using? On what operating system?
1.0.2, all platforms.
Please provide any additional information below.
You can solve this problem by having the JSON renderer generate millisecond
past epoch constructors. Then the client will construct dates properly since
milliseconds past epoch are explicitly UTC, whereas date fields are interpreted
locally. As an added bonus, this will reduce the amount of data sent across
the wire.
Original issue reported on code.google.com by [email protected] on 6 Jan 2011 at 3:38
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 6 Jan 2011 at 3:38The text was updated successfully, but these errors were encountered: