It's a financial charting library that "aligns" the bars based on the opening time of the exchange. By "aligns" I mean changes the timestamp.
On Saturday, December 31, 2016 at 3:52:02 PM UTC+1, Ignacio Baca Moreno-Torres wrote: > > Hehe I'm curious too. What obscure library was modifying your json, and > how? > > El sáb., 31 dic. 2016 13:37, Vassilis Virvilis <[email protected] > <javascript:>> escribió: > >> So why it did it in the one case but not in the other? Were you calling >> the third party js explicitly in the one case? >> >> On Sat, Dec 31, 2016 at 1:04 PM, Dave Puchyr <[email protected] >> <javascript:>> wrote: >> >>> After stepping through the compiled js I found that a third party >>> (obfuscated) js library manipulated the timestamps on me. JsInterop is >>> fine. :) Sorry for the noise. >>> >>> >>> On Saturday, December 31, 2016 at 11:20:43 AM UTC+1, Dave Puchyr wrote: >>>> >>>> Even when I reduce the json input to >>>> >>>> >>>> {"Contract":"STK:USD:PBA@NYSE","action":"onHistoricalData","bar":"D","bars":[{"time":1451952000},{"time":1452038400},{"time":1452124800}],"callback":4,"metadata":{"noData":false},"t":1483179318,"t0":1452075258,"ticker":"STK:USD:PBA@NYSE"} >>>> >>>> the time properties are still 1607400000 in the JsInterop parsed >>>> object. Thanks for the suggestion, though. >>>> >>>> On Saturday, December 31, 2016 at 8:40:58 AM UTC+1, Paul Robinson wrote: >>>>> >>>>> Have you tried modifying/simplifying the JSON to see what your odd >>>>> behaviour is sensitive to? >>>>> >>>>> Paul >>>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "GWT Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] >>> <javascript:>. >>> To post to this group, send email to [email protected] >>> <javascript:>. >>> Visit this group at https://groups.google.com/group/google-web-toolkit. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Vassilis Virvilis >> >> -- >> You received this message because you are subscribed to the Google Groups >> "GWT Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/google-web-toolkit. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
