I'm a little stumped on how I am supposed to set the value of a ListGridField that is of type time.
If I call setAttribute("someTime",Date()) it formats it ok on view, but then applies a Timezone change to my date when the editor starts.
If I call setAttribute("someTime", JavascriptObject()) - where the JSO is a time (""08:00:00"") then it works correctly.
Is this a bug or a limitation of the API? Or are there methods to programmaticly set a time?
If I call setAttribute("someTime",Date()) it formats it ok on view, but then applies a Timezone change to my date when the editor starts.
If I call setAttribute("someTime", JavascriptObject()) - where the JSO is a time (""08:00:00"") then it works correctly.
Is this a bug or a limitation of the API? Or are there methods to programmaticly set a time?
Comment