-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to work/add support with different time zones #781
Comments
As workaround you can try to "fix" the dates you provide in the data by adding timezone offset. |
I had the same problem. This is my workaround for it, incase anyone is feeling lazy:
|
timocov
added a commit
that referenced
this issue
Oct 28, 2021
3 tasks
timocov
added
documentation
Improvements or additions to the documentation
and removed
bug
Unexpected problem or unintended behavior.
labels
Oct 28, 2021
timocov
changed the title
Invalid TickMark position due to TickMarkType designed for UTC
How to work/add support with different time zones
Nov 3, 2021
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Lightweight Charts Version: 3.3.0
Steps/code to reproduce:
Visit https://jsfiddle.net/b5v8L9et/
Actual behavior:
Day TickMark is displayed at 2:00 instead of 0:00
Expected behavior:
Allow to configure chart to display tickmark in position valid for specific locale - at 0:00 for day, month, year
Screenshots:
CodeSandbox/JSFiddle/etc link:
https://jsfiddle.net/b5v8L9et/
I provided custom tickMarkFormatter (and timeFormatter for easier readability) but there is no way to customize where specific tickMark should be displayed
The text was updated successfully, but these errors were encountered: