Kanaries / pygwalker

PyGWalker: Turn your pandas dataframe into an interactive UI for visual analysis
https://kanaries.net/pygwalker
Apache License 2.0
11.08k stars 570 forks source link

fix: use utc timezone when using js calculate #459

Closed longxiaofei closed 6 months ago

longxiaofei commented 6 months ago

When using the same spec and the same data, the results calculated using js and calculated using python kernel are inconsistent.

The reason is that the front-end time zone and the back-end time zone are inconsistent.

This PR changes the time zone during front-end calculation to utc, which is consistent with the kernel time zone.