File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -119,10 +119,22 @@ function deserialize_data(data: any, manager: any): DataSource {
119
119
deserialized_data [ column ] = unpack_raw_data ( data . data [ column ] . value ) ;
120
120
} else {
121
121
if ( data . data [ column ] . value . length !== 0 ) {
122
- deserialized_data [ column ] = array_or_json_serializer . deserialize (
122
+ let deserialized_array = array_or_json_serializer . deserialize (
123
123
data . data [ column ] ,
124
124
manager ,
125
125
) ;
126
+
127
+ // Turning back float32 dates into isoformat
128
+ if ( deserialized_array . type === 'date' ) {
129
+ const float32Array = deserialized_array ;
130
+ deserialized_array = [ ] ;
131
+
132
+ for ( let i = 0 ; i < float32Array . length ; i ++ ) {
133
+ deserialized_array [ i ] = new Date ( float32Array [ i ] ) . toISOString ( ) ;
134
+ }
135
+ }
136
+
137
+ deserialized_data [ column ] = deserialized_array ;
126
138
}
127
139
}
128
140
}
You can’t perform that action at this time.
0 commit comments